RDFa 1.1 Processor Conformance

EARL results from the RDFa 1.1 Test Suite

Unofficial Draft

Latest editor's draft:
http://rdfa.info/earl-reports/earl.html
Editor:
Gregg Kellogg, Kellogg Associates
Authors:
Gregg Kellogg, Kellogg Associates
Iván Herman, W3C
Manu Sporny, Digital Bazaar

Abstract

This document reports processor conformance for [RDFA-CORE] and related specifications according to the requirements of the Evaluation and Report Language (EARL) 1.0 Schema [EARL10-SCHEMA].

This document describes RDFa Test Suite running at http://rdfa.info/ . according to the requirements of the Evaluation and Report Language (EARL) 1.0 Schema [EARL10-SCHEMA].

This report is also available in alternate formats: Turtle and JSON-LD

Status of This Document

This document is merely a public working draft of a potential specification. It has no official standing of any kind and does not represent the support or consensus of any standards organisation.

Table of Contents

1. Test Manifests

1.1 HTML4+RDFa 1.1

RDFa Core 1.1 [RDFA-CORE] defines core processing rules for independent of host language, and provides default processing rules for XML-based host languages.

The HTML4 [HTML40] RDFa Host Language is defined in [HTML-RDFA]. HTML+RDFa extends RDFa Core 1.1 [RDFA-CORE] with host-language specific processing rules.

Test clj-rdfa EasyRdf Green Turtle librdfa pyRdfa RDF-RDFa-Parser RDF::RDFa Semargl
Test 0001: Predicate establishment with @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0006: @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0007: @rel, @rev, @property, @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0008: empty string @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0009: @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0010: @rel, @rev, @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0014: @datatype, xsd:integer PASS PASS PASS PASS PASS PASS PASS PASS
Test 0015: meta and link PASS PASS PASS PASS PASS PASS PASS PASS
Test 0017: Related blanknodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0018: @rel for predicate PASS PASS PASS PASS PASS PASS PASS PASS
Test 0019: @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0020: Inheriting @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0021: Subject inheritance with no @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0023: @id does not generate subjects PASS PASS PASS PASS PASS PASS PASS PASS
Test 0025: simple chaining test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0026: @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0027: @content, ignore element content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0029: markup stripping with @datatype PASS PASS PASS PASS PASS PASS PASS PASS
Test 0030: omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0031: simple @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0032: @resource overrides @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0033: simple chaining test with bNode PASS PASS PASS PASS PASS PASS PASS PASS
Test 0034: simple img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0035: @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0036: @src/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0037: @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0038: @rev - img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0039: @rev - @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0041: @rev - @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0048: @typeof with @about and @rel present, no @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0049: @typeof with @about, no @rel or @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0050: @typeof without anything else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0051: @typeof with a single @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0052: @typeof with @resource and nothing else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0053: @typeof with @resource and nothing else, with a subelement PASS PASS PASS PASS PASS PASS PASS PASS
Test 0054: multiple @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0055: multiple @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0056: @typeof applies to @about on same element with hanging rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0057: hanging @rel creates multiple triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0059: multiple hanging @rels with multiple children PASS PASS PASS PASS PASS PASS PASS PASS
Test 0060: UTF-8 conformance PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0063: @rel in head using reserved XHTML value and empty-prefix CURIE syntax PASS PASS PASS PASS PASS PASS PASS PASS
Test 0064: @about with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0065: @rel with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0066: @about with @typeof in the head PASS PASS PASS PASS PASS PASS PASS PASS
Test 0067: @property in the head PASS PASS PASS PASS PASS PASS PASS PASS
Test 0068: Relative URI in @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0069: Relative URI in @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0070: Relative URI in @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0071: No explicit @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0072: Relative URI in @about (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0073: Relative URI in @resource (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0074: Relative URI in @href (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0075: Reserved word 'license' in @rel with no explicit @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0079: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0080: @about overrides @resource in incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0083: multiple ways of handling incomplete triples (merged) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0084: multiple ways of handling incomplete triples, this time with both @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0085: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0087: All reserved XHTML @rel values (with :xxx) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0088: Interpretation of the CURIE "_:" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0089: @src sets a new subject (@typeof) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0091: Non-reserved, un-prefixed CURIE in @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0093: Tests XMLLiteral content with explicit @datatype (user-data-typed literal) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0099: Preservation of white space in literals PASS PASS PASS PASS PASS PASS PASS PASS
Test 0104: rdf:value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0106: chaining with empty value in inner @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0107: no garbage collecting bnodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0109: Tests to ensure @xml:base is ignored PASS PASS PASS PASS PASS PASS PASS PASS
Test 0110: bNode generated even though no nested @about exists PASS PASS PASS PASS PASS PASS PASS PASS
Test 0111: two bNodes generated after three levels of nesting PASS PASS PASS PASS PASS PASS PASS PASS
Test 0112: plain literal with datatype="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0114: Relative URI dot-segment removal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0115: XML Entities must be supported by RDFa parser PASS PASS PASS PASS PASS PASS PASS PASS
Test 0117: Fragment identifiers stripped from BASE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0118: empty string "" is not equivalent to NULL - @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0119: "[prefix:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0120: "[:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0122: resource="[]" does not set the object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0126: Multiple @typeof values PASS PASS PASS PASS PASS PASS PASS PASS
Test 0131: Whitespace alternatives in attributes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0134: Uppercase reserved words PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0140: Blank nodes identifiers are not allowed as predicates PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0147: xmlns prefix 'xmlzzz' (reserved) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0174: Support single character prefix in CURIEs PASS PASS PASS PASS PASS PASS PASS PASS
Test 0175: IRI for @property is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0176: IRI for @rel and @rev is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0177: Test @prefix PASS PASS PASS PASS PASS PASS PASS PASS
Test 0178: Test @prefix with multiple mappings PASS PASS PASS PASS PASS PASS PASS PASS
Test 0179: Test @prefix vs @xmlns priority PASS PASS PASS PASS PASS PASS PASS PASS
Test 0180: Test @prefix with empty mapping PASS PASS PASS PASS PASS PASS PASS PASS
Test 0181: Test default XHTML vocabulary PASS PASS PASS PASS PASS PASS PASS PASS
Test 0182: Test prefix locality PASS PASS PASS PASS PASS PASS PASS PASS
Test 0183: Test @xmlns redefines @prefix PASS PASS PASS PASS PASS PASS PASS PASS
Test 0186: @vocab after subject declaration PASS PASS PASS PASS PASS PASS PASS PASS
Test 0187: @vocab redefinition PASS PASS PASS PASS PASS PASS PASS PASS
Test 0188: @vocab only affects predicates PASS PASS PASS PASS PASS PASS PASS PASS
Test 0189: @vocab overrides default term PASS PASS PASS PASS PASS PASS PASS PASS
Test 0190: Test term case insensitivity PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0196: Test process explicit XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0197: Test TERMorCURIEorAbsURI requires an absolute URI PASS PASS PASS PASS PASS PASS PASS PASS
Test 0206: Usage of Initial Context PASS PASS PASS PASS PASS PASS PASS PASS
Test 0207: Vevent using @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0213: Datatype generation for a literal with XML content, version 1.1 PASS PASS PASS PASS PASS PASS PASS PASS
Test 0214: Root element has implicit @about="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0216: Proper character encoding detection in spite of large headers PASS PASS PASS PASS PASS PASS PASS PASS
Test 0217: @vocab causes rdfa:usesVocabulary triple to be added PASS PASS PASS PASS PASS PASS PASS PASS
Test 0218: @inlist to create empty list PASS PASS PASS PASS PASS PASS PASS PASS
Test 0219: @inlist with literal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0220: @inlist with IRI PASS PASS PASS PASS PASS PASS PASS PASS
Test 0221: @inlist with hetrogenious membership PASS PASS PASS PASS PASS PASS PASS PASS
Test 0222: @inlist with multi-level elements PASS PASS PASS PASS PASS PASS PASS PASS
Test 0223: @inlist with non-list property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0224: @inlist hanging @rel PASS FAIL PASS PASS PASS PASS PASS PASS
Test 0225: @inlist on different elements with same subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0226: confusion between multiple implicit collections (resource) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0227: confusion between multiple implicit collections (about) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0228: 1.1 alternate for test 0040: @rev - @src/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0229: img[@src] test with omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0230: @src does not set a new subject (@rel/@href) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0231: Set image license information PASS PASS PASS PASS PASS PASS PASS PASS
Test 0232: @typeof with @rel present, no @href, @resource, or @about (1.1 behavior of 0046); PASS PASS PASS PASS PASS PASS PASS PASS
Test 0233: @typeof with @rel and @resource present, no @about (1.1 behavior of 0047) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0234: All defined HTML link relation values PASS PASS PASS PASS PASS PASS PASS PASS
Test 0246: hanging @rel creates multiple triples, @typeof permutation; RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0247: Multiple incomplete triples, RDFa 1.1version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0248: multiple ways of handling incomplete triples (with @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0249: multiple ways of handling incomplete triples (with @rel and @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0250: Checking the right behaviour of @typeof with @about, in presence of @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0251: lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0252: lang inheritance PASS PASS PASS PASS PASS PASS PASS PASS
Test 0253: plain literal with datatype="" and lang preservation PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0254: @datatype="" generates plain literal in presence of child nodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0255: lang="" clears language setting PASS PASS PASS PASS PASS PASS PASS PASS
Test 0257: element with @property and no child nodes generates empty plain literal (HTML5 version of 0113) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0258: The underscore character is not allowed as a prefix or in xmlns PASS PASS PASS PASS PASS PASS PASS PASS
Test 0259: XML+RDFa Initial Context PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0261: White space preservation in XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0262: Predicate establishment with @property, with white spaces before and after the attribute value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0263: @property appearing on the html element yields the base as the subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0264: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0265: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0266: @property without @content or @datatype, typed object set by @href and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0267: @property without @content or @datatype, typed object set by @resource and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0268: @property without @content or @datatype, typed object set by @src and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0269: Use of @property in HEAD without explicit subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0271: Use of @property in HEAD with explicit parent subject via @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0289: @href becomes subject when @property and @content are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0290: @href becomes subject when @property and @datatype are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0291: @href as subject overridden by @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0292: @about overriding @href as subject is used as parent resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0293: Testing the ':' character usage in a CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0295: Benchmark test PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0296: @property does set parent object without @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0297: @about=[] with @typeof does not create a new subject PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0298: @about=[] with @typeof does not create a new object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0299: @resource=[] with @href or @src uses @href or @src (@rel) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0300: @resource=[] with @href or @src uses @href or @src (@property) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0301: @property with @typeof creates a typed_resource for chaining PASS PASS PASS PASS PASS PASS PASS PASS
Test 0302: @typeof with different content types PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0303: For HTML+RDFa 1.1, remove term elements of @rel/@rev when on same element as @property FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0311: Ensure no triples are generated when @property is empty PASS PASS PASS PASS PASS PASS PASS PASS
Test 0318: Setting @vocab to empty strings removes default vocabulary PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0319: Relative @profile PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0320: @property binds to @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0329: Recursive triple generation PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0330: @datatype overrides inherited @lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0331: @datatype overrides inherited @lang, with @content PASS PASS PASS PASS PASS PASS PASS PASS
Percentage passed out of 168 Tests 99.4% 98.8% 100.0% 94.6% 100.0% 95.8% 100.0% 100.0%

1.2 HTML5+RDFa 1.1

RDFa Core 1.1 [RDFA-CORE] defines core processing rules for independent of host language, and provides default processing rules for XML-based host languages.

The HTML5 [HTML5] RDFa Host Language is defined in [HTML-RDFA]. HTML+RDFa extends RDFa Core 1.1 [RDFA-CORE] with host-language specific processing rules.

Test clj-rdfa EasyRdf Green Turtle librdfa pyRdfa RDF-RDFa-Parser RDF::RDFa Semargl
Test 0001: Predicate establishment with @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0006: @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0007: @rel, @rev, @property, @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0008: empty string @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0009: @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0010: @rel, @rev, @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0014: @datatype, xsd:integer PASS PASS PASS PASS PASS PASS PASS PASS
Test 0015: meta and link PASS PASS PASS PASS PASS PASS PASS PASS
Test 0017: Related blanknodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0018: @rel for predicate PASS PASS PASS PASS PASS PASS PASS PASS
Test 0019: @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0020: Inheriting @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0021: Subject inheritance with no @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0023: @id does not generate subjects PASS PASS PASS PASS PASS PASS PASS PASS
Test 0025: simple chaining test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0026: @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0027: @content, ignore element content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0029: markup stripping with @datatype PASS PASS PASS PASS PASS PASS PASS PASS
Test 0030: omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0031: simple @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0032: @resource overrides @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0033: simple chaining test with bNode PASS PASS PASS PASS PASS PASS PASS PASS
Test 0034: simple img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0035: @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0036: @src/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0037: @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0038: @rev - img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0039: @rev - @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0041: @rev - @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0048: @typeof with @about and @rel present, no @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0049: @typeof with @about, no @rel or @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0050: @typeof without anything else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0051: @typeof with a single @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0052: @typeof with @resource and nothing else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0053: @typeof with @resource and nothing else, with a subelement PASS PASS PASS PASS PASS PASS PASS PASS
Test 0054: multiple @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0055: multiple @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0056: @typeof applies to @about on same element with hanging rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0057: hanging @rel creates multiple triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0059: multiple hanging @rels with multiple children PASS PASS PASS PASS PASS PASS PASS PASS
Test 0060: UTF-8 conformance PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0063: @rel in head using reserved XHTML value and empty-prefix CURIE syntax PASS PASS PASS PASS PASS PASS PASS PASS
Test 0064: @about with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0065: @rel with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0066: @about with @typeof in the head PASS PASS PASS PASS PASS PASS PASS PASS
Test 0067: @property in the head PASS PASS PASS PASS PASS PASS PASS PASS
Test 0068: Relative URI in @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0069: Relative URI in @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0070: Relative URI in @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0071: No explicit @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0072: Relative URI in @about (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0073: Relative URI in @resource (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0074: Relative URI in @href (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0075: Reserved word 'license' in @rel with no explicit @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0079: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0080: @about overrides @resource in incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0083: multiple ways of handling incomplete triples (merged) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0084: multiple ways of handling incomplete triples, this time with both @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0085: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0087: All reserved XHTML @rel values (with :xxx) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0088: Interpretation of the CURIE "_:" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0089: @src sets a new subject (@typeof) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0091: Non-reserved, un-prefixed CURIE in @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0093: Tests XMLLiteral content with explicit @datatype (user-data-typed literal) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0099: Preservation of white space in literals PASS PASS PASS PASS PASS PASS PASS PASS
Test 0104: rdf:value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0106: chaining with empty value in inner @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0107: no garbage collecting bnodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0109: Tests to ensure @xml:base is ignored PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0110: bNode generated even though no nested @about exists PASS PASS PASS PASS PASS PASS PASS PASS
Test 0111: two bNodes generated after three levels of nesting PASS PASS PASS PASS PASS PASS PASS PASS
Test 0112: plain literal with datatype="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0114: Relative URI dot-segment removal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0115: XML Entities must be supported by RDFa parser PASS PASS PASS PASS PASS PASS PASS PASS
Test 0117: Fragment identifiers stripped from BASE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0118: empty string "" is not equivalent to NULL - @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0119: "[prefix:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0120: "[:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0122: resource="[]" does not set the object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0126: Multiple @typeof values PASS PASS PASS PASS PASS PASS PASS PASS
Test 0131: Whitespace alternatives in attributes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0134: Uppercase reserved words PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0140: Blank nodes identifiers are not allowed as predicates PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0147: xmlns prefix 'xmlzzz' (reserved) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0174: Support single character prefix in CURIEs PASS PASS PASS PASS PASS PASS PASS PASS
Test 0175: IRI for @property is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0176: IRI for @rel and @rev is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0177: Test @prefix PASS PASS PASS PASS PASS PASS PASS PASS
Test 0178: Test @prefix with multiple mappings PASS PASS PASS PASS PASS PASS PASS PASS
Test 0179: Test @prefix vs @xmlns priority PASS PASS PASS PASS PASS PASS PASS PASS
Test 0180: Test @prefix with empty mapping PASS PASS PASS PASS PASS PASS PASS PASS
Test 0181: Test default XHTML vocabulary PASS PASS PASS PASS PASS PASS PASS PASS
Test 0182: Test prefix locality PASS PASS PASS PASS PASS PASS PASS PASS
Test 0183: Test @xmlns redefines @prefix PASS PASS PASS PASS PASS PASS PASS PASS
Test 0186: @vocab after subject declaration PASS PASS PASS PASS PASS PASS PASS PASS
Test 0187: @vocab redefinition PASS PASS PASS PASS PASS PASS PASS PASS
Test 0188: @vocab only affects predicates PASS PASS PASS PASS PASS PASS PASS PASS
Test 0189: @vocab overrides default term PASS PASS PASS PASS PASS PASS PASS PASS
Test 0190: Test term case insensitivity PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0196: Test process explicit XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0197: Test TERMorCURIEorAbsURI requires an absolute URI PASS PASS PASS PASS PASS PASS PASS PASS
Test 0206: Usage of Initial Context PASS PASS PASS PASS PASS PASS PASS PASS
Test 0207: Vevent using @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0213: Datatype generation for a literal with XML content, version 1.1 PASS PASS PASS PASS PASS PASS PASS PASS
Test 0214: Root element has implicit @about="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0216: Proper character encoding detection in spite of large headers PASS PASS PASS PASS PASS PASS PASS PASS
Test 0217: @vocab causes rdfa:usesVocabulary triple to be added PASS PASS PASS PASS PASS PASS PASS PASS
Test 0218: @inlist to create empty list PASS PASS PASS PASS PASS PASS PASS PASS
Test 0219: @inlist with literal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0220: @inlist with IRI PASS PASS PASS PASS PASS PASS PASS PASS
Test 0221: @inlist with hetrogenious membership PASS PASS PASS PASS PASS PASS PASS PASS
Test 0222: @inlist with multi-level elements PASS PASS PASS PASS PASS PASS PASS PASS
Test 0223: @inlist with non-list property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0224: @inlist hanging @rel PASS FAIL PASS PASS PASS PASS PASS PASS
Test 0225: @inlist on different elements with same subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0226: confusion between multiple implicit collections (resource) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0227: confusion between multiple implicit collections (about) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0228: 1.1 alternate for test 0040: @rev - @src/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0229: img[@src] test with omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0230: @src does not set a new subject (@rel/@href) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0231: Set image license information PASS PASS PASS PASS PASS PASS PASS PASS
Test 0232: @typeof with @rel present, no @href, @resource, or @about (1.1 behavior of 0046); PASS PASS PASS PASS PASS PASS PASS PASS
Test 0233: @typeof with @rel and @resource present, no @about (1.1 behavior of 0047) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0234: All defined HTML link relation values PASS PASS PASS PASS PASS PASS PASS PASS
Test 0246: hanging @rel creates multiple triples, @typeof permutation; RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0247: Multiple incomplete triples, RDFa 1.1version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0248: multiple ways of handling incomplete triples (with @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0249: multiple ways of handling incomplete triples (with @rel and @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0250: Checking the right behaviour of @typeof with @about, in presence of @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0251: lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0252: lang inheritance PASS PASS PASS PASS PASS PASS PASS PASS
Test 0253: plain literal with datatype="" and lang preservation PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0254: @datatype="" generates plain literal in presence of child nodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0255: lang="" clears language setting PASS PASS PASS PASS PASS PASS PASS PASS
Test 0257: element with @property and no child nodes generates empty plain literal (HTML5 version of 0113) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0258: The underscore character is not allowed as a prefix or in xmlns PASS PASS PASS PASS PASS PASS PASS PASS
Test 0259: XML+RDFa Initial Context PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0261: White space preservation in XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0262: Predicate establishment with @property, with white spaces before and after the attribute value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0263: @property appearing on the html element yields the base as the subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0264: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0265: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0266: @property without @content or @datatype, typed object set by @href and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0267: @property without @content or @datatype, typed object set by @resource and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0268: @property without @content or @datatype, typed object set by @src and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0269: Use of @property in HEAD without explicit subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0271: Use of @property in HEAD with explicit parent subject via @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0272: time element with @datetime an xsd:date PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0273: time element with @datetime an xsd:time PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0274: time element with @datetime an xsd:dateTime PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0275: time element with value an xsd:date PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0276: time element with value an xsd:time PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0277: time element with value an xsd:dateTime PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0278: @content overrides @datetime FAIL FAIL PASS PASS PASS FAIL PASS PASS
Test 0279: @datatype used with @datetime overrides default datatype PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0280: time element with @datetime an xsd:duration PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0281: time element with @datetime an xsd:gYear PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0282: time element with @datetime an xsd:gYearMonth PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0283: time element with @datetime an invalid datatype generates plain literal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0284: time element not matching datatype but with explicit @datatype PASS PASS PASS PASS PASS PASS PASS PASS
Test 0285: time element with @datetime an invalid datatype and in scope @lang generates plain literal with language PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0287: time element with @datetime an xsd:dateTime with TZ offset PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0289: @href becomes subject when @property and @content are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0290: @href becomes subject when @property and @datatype are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0291: @href as subject overridden by @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0292: @about overriding @href as subject is used as parent resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0293: Testing the ':' character usage in a CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0295: Benchmark test PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0296: @property does set parent object without @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0297: @about=[] with @typeof does not create a new subject PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0298: @about=[] with @typeof does not create a new object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0299: @resource=[] with @href or @src uses @href or @src (@rel) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0300: @resource=[] with @href or @src uses @href or @src (@property) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0301: @property with @typeof creates a typed_resource for chaining PASS PASS PASS PASS PASS PASS PASS PASS
Test 0302: @typeof with different content types PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0303: For HTML+RDFa 1.1, remove term elements of @rel/@rev when on same element as @property FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0311: Ensure no triples are generated when @property is empty PASS PASS PASS PASS PASS PASS PASS PASS
Test 0312: Mute plain @rel if @property is present FAIL PASS PASS FAIL PASS FAIL PASS PASS
Test 0315: @property and @typeof with incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0316: @property and @typeof with incomplete triples (@href variant) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0317: @datatype inhibits new @property behavior PASS PASS PASS PASS PASS PASS PASS PASS
Test 0318: Setting @vocab to empty strings removes default vocabulary PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0319: Relative @profile PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0320: @property binds to @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0321: rdfa:copy to rdfa:Pattern FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0322: rdfa:copy for additional property value FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0323: Multiple references to rdfa:Pattern FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0324: Multiple references to rdfa:Pattern FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0325: Multiple references to rdfa:Pattern creating a resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0326: rdfa:Pattern removed only if referenced FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0327: rdfa:Pattern chaining FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0328: @content overrides the content of the time element. FAIL PASS PASS PASS PASS FAIL PASS PASS
Test 0329: Recursive triple generation PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0330: @datatype overrides inherited @lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0331: @datatype overrides inherited @lang, with @content PASS PASS PASS PASS PASS PASS PASS PASS
Percentage passed out of 195 Tests 94.9% 95.4% 100.0% 85.1% 100.0% 91.8% 100.0% 100.0%

1.3 SVG+RDFa 1.1

RDFa Core 1.1 [RDFA-CORE] defines core processing rules for independent of host language, and provides default processing rules for XML-based host languages.

SVG [SVG12] supports RDFa by virtue of being an XML-based language, so the XML+RDFa rules defined in RDFa Core 1.1 [RDFA-CORE] apply to processing RDFa in SVG.

Test clj-rdfa EasyRdf librdfa pyRdfa RDF-RDFa-Parser RDF::RDFa Semargl
Test 0201: Expressing an attribute using @property PASS PASS PASS PASS PASS PASS PASS
Test 0202: Tests to ensure @xml:base used in SVG FAIL FAIL FAIL PASS PASS PASS PASS
Test 0203: Tests to ensure @xml:base, XML+RDFa used in non-root elements in SVG PASS FAIL FAIL PASS PASS PASS PASS
Test 0214: Root element has implicit @about="" PASS PASS PASS PASS PASS PASS PASS
Test 0218: @inlist to create empty list PASS PASS PASS PASS PASS PASS PASS
Test 0219: @inlist with literal PASS PASS PASS PASS PASS PASS PASS
Test 0220: @inlist with IRI PASS PASS PASS PASS PASS PASS PASS
Test 0221: @inlist with hetrogenious membership PASS PASS PASS PASS PASS PASS PASS
Test 0222: @inlist with multi-level elements PASS PASS PASS PASS PASS PASS PASS
Test 0223: @inlist with non-list property PASS PASS PASS PASS PASS PASS PASS
Test 0224: @inlist hanging @rel PASS FAIL PASS PASS PASS PASS PASS
Test 0225: @inlist on different elements with same subject PASS PASS PASS PASS PASS PASS PASS
Test 0226: confusion between multiple implicit collections (resource) PASS PASS PASS PASS PASS PASS PASS
Test 0227: confusion between multiple implicit collections (about) PASS PASS PASS PASS PASS PASS PASS
Test 0234: All defined HTML link relation values PASS PASS PASS PASS PASS PASS PASS
Test 0259: XML+RDFa Initial Context PASS PASS PASS PASS FAIL PASS PASS
Test 0289: @href becomes subject when @property and @content are present PASS PASS PASS PASS PASS PASS PASS
Test 0290: @href becomes subject when @property and @datatype are present PASS PASS PASS PASS PASS PASS PASS
Test 0291: @href as subject overridden by @about PASS PASS PASS PASS PASS PASS PASS
Test 0292: @about overriding @href as subject is used as parent resource PASS PASS PASS PASS PASS PASS PASS
Test 0293: Testing the ':' character usage in a CURIE PASS PASS PASS PASS PASS PASS PASS
Test 0295: Benchmark test PASS PASS FAIL PASS FAIL PASS PASS
Test 0296: @property does set parent object without @typeof PASS PASS PASS PASS PASS PASS PASS
Test 0297: @about=[] with @typeof does not create a new subject PASS PASS FAIL PASS PASS PASS PASS
Test 0298: @about=[] with @typeof does not create a new object PASS PASS PASS PASS PASS PASS PASS
Test 0299: @resource=[] with @href or @src uses @href or @src (@rel) PASS PASS PASS PASS PASS PASS PASS
Test 0300: @resource=[] with @href or @src uses @href or @src (@property) PASS PASS PASS PASS PASS PASS PASS
Test 0301: @property with @typeof creates a typed_resource for chaining PASS PASS PASS PASS PASS PASS PASS
Test 0302: @typeof with different content types PASS PASS FAIL PASS PASS PASS PASS
Test 0304: Embedded chunks of RDF/XML FAIL FAIL FAIL PASS PASS PASS PASS
Test 0311: Ensure no triples are generated when @property is empty PASS PASS PASS PASS PASS PASS PASS
Percentage passed out of 31 Tests 93.5% 87.1% 80.6% 100.0% 93.5% 100.0% 100.0%

1.4 XHTML1+RDFa 1.1

RDFa Core 1.1 [RDFA-CORE] defines core processing rules for independent of host language, and provides default processing rules for XML-based host languages.

XHTML+RDFa 1.1 [XHTML-RDFA] extends RDFa Core 1.1 [RDFA-CORE] with host-language specific processing rules.

Test clj-rdfa EasyRdf Green Turtle librdfa pyRdfa RDF-RDFa-Parser RDF::RDFa Semargl
Test 0001: Predicate establishment with @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0006: @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0007: @rel, @rev, @property, @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0008: empty string @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0009: @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0010: @rel, @rev, @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0012: @xml:lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0013: @xml:lang inheritance PASS PASS PASS PASS PASS PASS PASS PASS
Test 0014: @datatype, xsd:integer PASS PASS PASS PASS PASS PASS PASS PASS
Test 0015: meta and link PASS PASS PASS PASS PASS PASS PASS PASS
Test 0017: Related blanknodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0018: @rel for predicate PASS PASS PASS PASS PASS PASS PASS PASS
Test 0019: @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0020: Inheriting @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0021: Subject inheritance with no @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0023: @id does not generate subjects PASS PASS PASS PASS PASS PASS PASS PASS
Test 0025: simple chaining test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0026: @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0027: @content, ignore element content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0029: markup stripping with @datatype PASS PASS PASS PASS PASS PASS PASS PASS
Test 0030: omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0031: simple @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0032: @resource overrides @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0033: simple chaining test with bNode PASS PASS PASS PASS PASS PASS PASS PASS
Test 0034: simple img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0035: @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0036: @src/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0037: @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0038: @rev - img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0039: @rev - @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0041: @rev - @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0048: @typeof with @about and @rel present, no @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0049: @typeof with @about, no @rel or @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0050: @typeof without anything else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0051: @typeof with a single @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0052: @typeof with @resource and nothing else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0053: @typeof with @resource and nothing else, with a subelement PASS PASS PASS PASS PASS PASS PASS PASS
Test 0054: multiple @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0055: multiple @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0056: @typeof applies to @about on same element with hanging rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0057: hanging @rel creates multiple triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0059: multiple hanging @rels with multiple children PASS PASS PASS PASS PASS PASS PASS PASS
Test 0060: UTF-8 conformance PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0061: @rel in head using reserved, non-prefixed XHTML value PASS FAIL PASS PASS PASS PASS PASS PASS
Test 0062: @rev in head using reserved, non-prefixed XHTML value PASS FAIL PASS PASS PASS PASS PASS PASS
Test 0063: @rel in head using reserved XHTML value and empty-prefix CURIE syntax PASS PASS PASS PASS PASS PASS PASS PASS
Test 0064: @about with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0065: @rel with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0066: @about with @typeof in the head PASS PASS PASS PASS PASS PASS PASS PASS
Test 0067: @property in the head PASS PASS PASS PASS PASS PASS PASS PASS
Test 0068: Relative URI in @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0069: Relative URI in @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0070: Relative URI in @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0071: No explicit @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0072: Relative URI in @about (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0073: Relative URI in @resource (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0074: Relative URI in @href (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0075: Reserved word 'license' in @rel with no explicit @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0076: All reserved XHTML @rel values PASS FAIL PASS PASS PASS PASS PASS PASS
Test 0077: All reserved XHTML @rev values PASS FAIL PASS PASS PASS PASS PASS PASS
Test 0079: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0080: @about overrides @resource in incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0083: multiple ways of handling incomplete triples (merged) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0084: multiple ways of handling incomplete triples, this time with both @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0085: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0087: All reserved XHTML @rel values (with :xxx) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0088: Interpretation of the CURIE "_:" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0089: @src sets a new subject (@typeof) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0091: Non-reserved, un-prefixed CURIE in @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0093: Tests XMLLiteral content with explicit @datatype (user-data-typed literal) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0099: Preservation of white space in literals PASS PASS PASS PASS PASS PASS PASS PASS
Test 0104: rdf:value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0106: chaining with empty value in inner @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0107: no garbage collecting bnodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0108: plain literal with datatype="" and xml:lang preservation PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0110: bNode generated even though no nested @about exists PASS PASS PASS PASS PASS PASS PASS PASS
Test 0111: two bNodes generated after three levels of nesting PASS PASS PASS PASS PASS PASS PASS PASS
Test 0112: plain literal with datatype="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0113: element with @property and no child nodes generates empty plain literal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0114: Relative URI dot-segment removal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0115: XML Entities must be supported by RDFa parser PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0117: Fragment identifiers stripped from BASE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0118: empty string "" is not equivalent to NULL - @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0119: "[prefix:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0120: "[:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0121: "[]" is a valid safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0122: resource="[]" does not set the object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0126: Multiple @typeof values PASS PASS PASS PASS PASS PASS PASS PASS
Test 0131: Whitespace alternatives in attributes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0134: Uppercase reserved words PASS PASS PASS PASS PASS PASS PASS PASS
Test 0140: Blank nodes identifiers are not allowed as predicates PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0147: xmlns prefix 'xmlzzz' (reserved) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0172: @datatype="" generates plain literal in presence of child nodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0173: @xml:lang="" clears language setting PASS PASS PASS PASS PASS PASS PASS PASS
Test 0174: Support single character prefix in CURIEs PASS PASS PASS PASS PASS PASS PASS PASS
Test 0175: IRI for @property is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0176: IRI for @rel and @rev is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0177: Test @prefix PASS PASS PASS PASS PASS PASS PASS PASS
Test 0178: Test @prefix with multiple mappings PASS PASS PASS PASS PASS PASS PASS PASS
Test 0179: Test @prefix vs @xmlns priority PASS PASS PASS PASS PASS PASS PASS PASS
Test 0180: Test @prefix with empty mapping PASS PASS PASS PASS PASS PASS PASS PASS
Test 0181: Test default XHTML vocabulary PASS PASS PASS PASS PASS PASS PASS PASS
Test 0182: Test prefix locality PASS PASS PASS PASS PASS PASS PASS PASS
Test 0183: Test @xmlns redefines @prefix PASS PASS PASS PASS PASS PASS PASS PASS
Test 0186: @vocab after subject declaration PASS PASS PASS PASS PASS PASS PASS PASS
Test 0187: @vocab redefinition PASS PASS PASS PASS PASS PASS PASS PASS
Test 0188: @vocab only affects predicates PASS PASS PASS PASS PASS PASS PASS PASS
Test 0189: @vocab overrides default term PASS PASS PASS PASS PASS PASS PASS PASS
Test 0190: Test term case insensitivity PASS PASS PASS PASS PASS PASS PASS PASS
Test 0196: Test process explicit XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0197: Test TERMorCURIEorAbsURI requires an absolute URI PASS PASS PASS PASS PASS PASS PASS PASS
Test 0198: datatype XMLLiteral with other embedded RDFa PASS PASS PASS PASS PASS PASS PASS PASS
Test 0206: Usage of Initial Context PASS PASS PASS PASS PASS PASS PASS PASS
Test 0207: Vevent using @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0213: Datatype generation for a literal with XML content, version 1.1 PASS PASS PASS PASS PASS PASS PASS PASS
Test 0214: Root element has implicit @about="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0216: Proper character encoding detection in spite of large headers PASS PASS PASS PASS PASS PASS PASS PASS
Test 0217: @vocab causes rdfa:usesVocabulary triple to be added PASS PASS PASS PASS PASS PASS PASS PASS
Test 0218: @inlist to create empty list PASS PASS PASS PASS PASS PASS PASS PASS
Test 0219: @inlist with literal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0220: @inlist with IRI PASS PASS PASS PASS PASS PASS PASS PASS
Test 0221: @inlist with hetrogenious membership PASS PASS PASS PASS PASS PASS PASS PASS
Test 0222: @inlist with multi-level elements PASS PASS PASS PASS PASS PASS PASS PASS
Test 0223: @inlist with non-list property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0224: @inlist hanging @rel PASS FAIL PASS PASS PASS PASS PASS PASS
Test 0225: @inlist on different elements with same subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0226: confusion between multiple implicit collections (resource) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0227: confusion between multiple implicit collections (about) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0228: 1.1 alternate for test 0040: @rev - @src/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0229: img[@src] test with omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0230: @src does not set a new subject (@rel/@href) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0231: Set image license information PASS PASS PASS PASS PASS PASS PASS PASS
Test 0232: @typeof with @rel present, no @href, @resource, or @about (1.1 behavior of 0046); PASS PASS PASS PASS PASS PASS PASS PASS
Test 0233: @typeof with @rel and @resource present, no @about (1.1 behavior of 0047) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0234: All defined HTML link relation values PASS PASS PASS PASS PASS PASS PASS PASS
Test 0246: hanging @rel creates multiple triples, @typeof permutation; RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0247: Multiple incomplete triples, RDFa 1.1version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0248: multiple ways of handling incomplete triples (with @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0249: multiple ways of handling incomplete triples (with @rel and @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0250: Checking the right behaviour of @typeof with @about, in presence of @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0251: lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0252: lang inheritance PASS PASS PASS PASS PASS PASS PASS PASS
Test 0253: plain literal with datatype="" and lang preservation PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0254: @datatype="" generates plain literal in presence of child nodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0255: lang="" clears language setting PASS PASS PASS PASS PASS PASS PASS PASS
Test 0256: lang and xml:lang on the same element PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0257: element with @property and no child nodes generates empty plain literal (HTML5 version of 0113) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0258: The underscore character is not allowed as a prefix or in xmlns PASS PASS PASS PASS PASS PASS PASS PASS
Test 0259: XML+RDFa Initial Context PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0260: XHTML+RDFa Initial Context PASS FAIL PASS PASS PASS PASS PASS PASS
Test 0261: White space preservation in XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0262: Predicate establishment with @property, with white spaces before and after the attribute value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0263: @property appearing on the html element yields the base as the subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0264: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0265: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0266: @property without @content or @datatype, typed object set by @href and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0267: @property without @content or @datatype, typed object set by @resource and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0268: @property without @content or @datatype, typed object set by @src and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0269: Use of @property in HEAD without explicit subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0271: Use of @property in HEAD with explicit parent subject via @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0289: @href becomes subject when @property and @content are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0290: @href becomes subject when @property and @datatype are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0291: @href as subject overridden by @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0292: @about overriding @href as subject is used as parent resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0293: Testing the ':' character usage in a CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0295: Benchmark test PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0296: @property does set parent object without @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0297: @about=[] with @typeof does not create a new subject PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0298: @about=[] with @typeof does not create a new object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0299: @resource=[] with @href or @src uses @href or @src (@rel) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0300: @resource=[] with @href or @src uses @href or @src (@property) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0301: @property with @typeof creates a typed_resource for chaining PASS PASS PASS PASS PASS PASS PASS PASS
Test 0302: @typeof with different content types PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0311: Ensure no triples are generated when @property is empty PASS PASS PASS PASS PASS PASS PASS PASS
Test 0318: Setting @vocab to empty strings removes default vocabulary PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0319: Relative @profile PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0320: @property binds to @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0329: Recursive triple generation PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0330: @datatype overrides inherited @lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0331: @datatype overrides inherited @lang, with @content PASS PASS PASS PASS PASS PASS PASS PASS
Percentage passed out of 180 Tests 100.0% 96.7% 100.0% 96.1% 100.0% 95.6% 100.0% 100.0%

1.5 XHTML5+RDFa 1.1

RDFa Core 1.1 [RDFA-CORE] defines core processing rules for independent of host language, and provides default processing rules for XML-based host languages.

The HTML5 [HTML5] RDFa Host Language is defined in [HTML-RDFA]. HTML+RDFa extends RDFa Core 1.1 [RDFA-CORE] with host-language specific processing rules.

Test clj-rdfa EasyRdf Green Turtle librdfa pyRdfa RDF-RDFa-Parser RDF::RDFa Semargl
Test 0001: Predicate establishment with @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0006: @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0007: @rel, @rev, @property, @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0008: empty string @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0009: @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0010: @rel, @rev, @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0014: @datatype, xsd:integer PASS PASS PASS PASS PASS PASS PASS PASS
Test 0015: meta and link PASS PASS PASS PASS PASS PASS PASS PASS
Test 0017: Related blanknodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0018: @rel for predicate PASS PASS PASS PASS PASS PASS PASS PASS
Test 0019: @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0020: Inheriting @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0021: Subject inheritance with no @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0023: @id does not generate subjects PASS PASS PASS PASS PASS PASS PASS PASS
Test 0025: simple chaining test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0026: @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0027: @content, ignore element content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0029: markup stripping with @datatype PASS PASS PASS PASS PASS PASS PASS PASS
Test 0030: omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0031: simple @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0032: @resource overrides @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0033: simple chaining test with bNode PASS PASS PASS PASS PASS PASS PASS PASS
Test 0034: simple img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0035: @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0036: @src/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0037: @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0038: @rev - img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0039: @rev - @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0041: @rev - @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0048: @typeof with @about and @rel present, no @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0049: @typeof with @about, no @rel or @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0050: @typeof without anything else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0051: @typeof with a single @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0052: @typeof with @resource and nothing else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0053: @typeof with @resource and nothing else, with a subelement PASS PASS PASS PASS PASS PASS PASS PASS
Test 0054: multiple @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0055: multiple @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0056: @typeof applies to @about on same element with hanging rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0057: hanging @rel creates multiple triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0059: multiple hanging @rels with multiple children PASS PASS PASS PASS PASS PASS PASS PASS
Test 0060: UTF-8 conformance PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0063: @rel in head using reserved XHTML value and empty-prefix CURIE syntax PASS PASS PASS PASS PASS PASS PASS PASS
Test 0064: @about with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0065: @rel with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0066: @about with @typeof in the head PASS PASS PASS PASS PASS PASS PASS PASS
Test 0067: @property in the head PASS PASS PASS PASS PASS PASS PASS PASS
Test 0068: Relative URI in @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0069: Relative URI in @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0070: Relative URI in @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0071: No explicit @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0072: Relative URI in @about (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0073: Relative URI in @resource (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0074: Relative URI in @href (with XHTML base in head) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0075: Reserved word 'license' in @rel with no explicit @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0079: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0080: @about overrides @resource in incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0083: multiple ways of handling incomplete triples (merged) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0084: multiple ways of handling incomplete triples, this time with both @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0085: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0087: All reserved XHTML @rel values (with :xxx) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0088: Interpretation of the CURIE "_:" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0089: @src sets a new subject (@typeof) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0091: Non-reserved, un-prefixed CURIE in @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0093: Tests XMLLiteral content with explicit @datatype (user-data-typed literal) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0099: Preservation of white space in literals PASS PASS PASS PASS PASS PASS PASS PASS
Test 0104: rdf:value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0106: chaining with empty value in inner @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0107: no garbage collecting bnodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0110: bNode generated even though no nested @about exists PASS PASS PASS PASS PASS PASS PASS PASS
Test 0111: two bNodes generated after three levels of nesting PASS PASS PASS PASS PASS PASS PASS PASS
Test 0112: plain literal with datatype="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0114: Relative URI dot-segment removal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0115: XML Entities must be supported by RDFa parser PASS PASS PASS PASS PASS PASS PASS PASS
Test 0117: Fragment identifiers stripped from BASE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0118: empty string "" is not equivalent to NULL - @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0119: "[prefix:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0120: "[:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0121: "[]" is a valid safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0122: resource="[]" does not set the object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0126: Multiple @typeof values PASS PASS PASS PASS PASS PASS PASS PASS
Test 0131: Whitespace alternatives in attributes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0134: Uppercase reserved words PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0140: Blank nodes identifiers are not allowed as predicates PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0147: xmlns prefix 'xmlzzz' (reserved) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0174: Support single character prefix in CURIEs PASS PASS PASS PASS PASS PASS PASS PASS
Test 0175: IRI for @property is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0176: IRI for @rel and @rev is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0177: Test @prefix PASS PASS PASS PASS PASS PASS PASS PASS
Test 0178: Test @prefix with multiple mappings PASS PASS PASS PASS PASS PASS PASS PASS
Test 0179: Test @prefix vs @xmlns priority PASS PASS PASS PASS PASS PASS PASS PASS
Test 0180: Test @prefix with empty mapping PASS PASS PASS PASS PASS PASS PASS PASS
Test 0181: Test default XHTML vocabulary PASS PASS PASS PASS PASS PASS PASS PASS
Test 0182: Test prefix locality PASS PASS PASS PASS PASS PASS PASS PASS
Test 0183: Test @xmlns redefines @prefix PASS PASS PASS PASS PASS PASS PASS PASS
Test 0186: @vocab after subject declaration PASS PASS PASS PASS PASS PASS PASS PASS
Test 0187: @vocab redefinition PASS PASS PASS PASS PASS PASS PASS PASS
Test 0188: @vocab only affects predicates PASS PASS PASS PASS PASS PASS PASS PASS
Test 0189: @vocab overrides default term PASS PASS PASS PASS PASS PASS PASS PASS
Test 0190: Test term case insensitivity PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0196: Test process explicit XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0197: Test TERMorCURIEorAbsURI requires an absolute URI PASS PASS PASS PASS PASS PASS PASS PASS
Test 0198: datatype XMLLiteral with other embedded RDFa PASS PASS PASS PASS PASS PASS PASS PASS
Test 0206: Usage of Initial Context PASS PASS PASS PASS PASS PASS PASS PASS
Test 0207: Vevent using @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0213: Datatype generation for a literal with XML content, version 1.1 PASS PASS PASS PASS PASS PASS PASS PASS
Test 0214: Root element has implicit @about="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0216: Proper character encoding detection in spite of large headers PASS PASS PASS PASS PASS PASS PASS PASS
Test 0217: @vocab causes rdfa:usesVocabulary triple to be added PASS PASS PASS PASS PASS PASS PASS PASS
Test 0218: @inlist to create empty list PASS PASS PASS PASS PASS PASS PASS PASS
Test 0219: @inlist with literal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0220: @inlist with IRI PASS PASS PASS PASS PASS PASS PASS PASS
Test 0221: @inlist with hetrogenious membership PASS PASS PASS PASS PASS PASS PASS PASS
Test 0222: @inlist with multi-level elements PASS PASS PASS PASS PASS PASS PASS PASS
Test 0223: @inlist with non-list property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0224: @inlist hanging @rel PASS FAIL PASS PASS PASS PASS PASS PASS
Test 0225: @inlist on different elements with same subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0226: confusion between multiple implicit collections (resource) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0227: confusion between multiple implicit collections (about) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0228: 1.1 alternate for test 0040: @rev - @src/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0229: img[@src] test with omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0230: @src does not set a new subject (@rel/@href) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0231: Set image license information PASS PASS PASS PASS PASS PASS PASS PASS
Test 0232: @typeof with @rel present, no @href, @resource, or @about (1.1 behavior of 0046); PASS PASS PASS PASS PASS PASS PASS PASS
Test 0233: @typeof with @rel and @resource present, no @about (1.1 behavior of 0047) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0234: All defined HTML link relation values PASS PASS PASS PASS PASS PASS PASS PASS
Test 0246: hanging @rel creates multiple triples, @typeof permutation; RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0247: Multiple incomplete triples, RDFa 1.1version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0248: multiple ways of handling incomplete triples (with @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0249: multiple ways of handling incomplete triples (with @rel and @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0250: Checking the right behaviour of @typeof with @about, in presence of @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0251: lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0252: lang inheritance PASS PASS PASS PASS PASS PASS PASS PASS
Test 0253: plain literal with datatype="" and lang preservation PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0254: @datatype="" generates plain literal in presence of child nodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0255: lang="" clears language setting PASS PASS PASS PASS PASS PASS PASS PASS
Test 0256: lang and xml:lang on the same element PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0257: element with @property and no child nodes generates empty plain literal (HTML5 version of 0113) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0258: The underscore character is not allowed as a prefix or in xmlns PASS PASS PASS PASS PASS PASS PASS PASS
Test 0259: XML+RDFa Initial Context PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0261: White space preservation in XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0262: Predicate establishment with @property, with white spaces before and after the attribute value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0263: @property appearing on the html element yields the base as the subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0264: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0265: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0266: @property without @content or @datatype, typed object set by @href and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0267: @property without @content or @datatype, typed object set by @resource and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0268: @property without @content or @datatype, typed object set by @src and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0269: Use of @property in HEAD without explicit subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0271: Use of @property in HEAD with explicit parent subject via @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0272: time element with @datetime an xsd:date PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0273: time element with @datetime an xsd:time PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0274: time element with @datetime an xsd:dateTime PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0275: time element with value an xsd:date PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0276: time element with value an xsd:time PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0277: time element with value an xsd:dateTime PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0278: @content overrides @datetime FAIL FAIL PASS PASS PASS PASS PASS PASS
Test 0279: @datatype used with @datetime overrides default datatype PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0280: time element with @datetime an xsd:duration PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0281: time element with @datetime an xsd:gYear PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0282: time element with @datetime an xsd:gYearMonth PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0283: time element with @datetime an invalid datatype generates plain literal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0284: time element not matching datatype but with explicit @datatype PASS PASS PASS PASS PASS PASS PASS PASS
Test 0285: time element with @datetime an invalid datatype and in scope @lang generates plain literal with language PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0287: time element with @datetime an xsd:dateTime with TZ offset PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0289: @href becomes subject when @property and @content are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0290: @href becomes subject when @property and @datatype are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0291: @href as subject overridden by @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0292: @about overriding @href as subject is used as parent resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0293: Testing the ':' character usage in a CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0295: Benchmark test PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0296: @property does set parent object without @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0297: @about=[] with @typeof does not create a new subject PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0298: @about=[] with @typeof does not create a new object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0299: @resource=[] with @href or @src uses @href or @src (@rel) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0300: @resource=[] with @href or @src uses @href or @src (@property) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0301: @property with @typeof creates a typed_resource for chaining PASS PASS PASS PASS PASS PASS PASS PASS
Test 0302: @typeof with different content types PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0303: For HTML+RDFa 1.1, remove term elements of @rel/@rev when on same element as @property FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0311: Ensure no triples are generated when @property is empty PASS PASS PASS PASS PASS PASS PASS PASS
Test 0312: Mute plain @rel if @property is present FAIL PASS PASS FAIL PASS FAIL PASS PASS
Test 0315: @property and @typeof with incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0316: @property and @typeof with incomplete triples (@href variant) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0317: @datatype inhibits new @property behavior PASS PASS PASS PASS PASS PASS PASS PASS
Test 0318: Setting @vocab to empty strings removes default vocabulary PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0319: Relative @profile PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0320: @property binds to @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0321: rdfa:copy to rdfa:Pattern FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0322: rdfa:copy for additional property value FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0323: Multiple references to rdfa:Pattern FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0324: Multiple references to rdfa:Pattern FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0325: Multiple references to rdfa:Pattern creating a resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0326: rdfa:Pattern removed only if referenced FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0327: rdfa:Pattern chaining FAIL FAIL PASS FAIL PASS FAIL PASS PASS
Test 0328: @content overrides the content of the time element. FAIL PASS PASS PASS PASS PASS PASS PASS
Test 0329: Recursive triple generation PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0330: @datatype overrides inherited @lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0331: @datatype overrides inherited @lang, with @content PASS PASS PASS PASS PASS PASS PASS PASS
Percentage passed out of 197 Tests 94.9% 95.4% 100.0% 85.3% 100.0% 86.8% 100.0% 100.0%

1.6 XML+RDFa 1.1

RDFa Core 1.1 [RDFA-CORE] defines core processing rules for independent of host language, and provides default processing rules for XML-based host languages.

The XML [XML11] RDFa Host Language uses the generic [RDFA-CORE] processing rules.

Test clj-rdfa EasyRdf Green Turtle librdfa pyRdfa RDF-RDFa-Parser RDF::RDFa Semargl
Test 0001: Predicate establishment with @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0006: @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0007: @rel, @rev, @property, @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0008: empty string @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0009: @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0010: @rel, @rev, @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0012: @xml:lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0013: @xml:lang inheritance PASS PASS PASS PASS PASS PASS PASS PASS
Test 0014: @datatype, xsd:integer PASS PASS PASS PASS PASS PASS PASS PASS
Test 0015: meta and link PASS PASS PASS PASS PASS PASS PASS PASS
Test 0017: Related blanknodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0018: @rel for predicate PASS PASS PASS PASS PASS PASS PASS PASS
Test 0019: @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0020: Inheriting @about for subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0021: Subject inheritance with no @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0023: @id does not generate subjects PASS PASS PASS PASS PASS PASS PASS PASS
Test 0025: simple chaining test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0026: @content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0027: @content, ignore element content PASS PASS PASS PASS PASS PASS PASS PASS
Test 0029: markup stripping with @datatype PASS PASS PASS PASS PASS PASS PASS PASS
Test 0030: omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0031: simple @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0032: @resource overrides @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0033: simple chaining test with bNode PASS PASS PASS PASS PASS PASS PASS PASS
Test 0034: simple img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0035: @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0036: @src/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0037: @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0038: @rev - img[@src] test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0039: @rev - @src/@href test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0041: @rev - @src/@href/@resource test PASS PASS PASS PASS PASS PASS PASS PASS
Test 0048: @typeof with @about and @rel present, no @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0049: @typeof with @about, no @rel or @resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0050: @typeof without anything else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0051: @typeof with a single @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0052: @typeof with @resource and nothing else PASS PASS PASS PASS PASS PASS PASS PASS
Test 0053: @typeof with @resource and nothing else, with a subelement PASS PASS PASS PASS PASS PASS PASS PASS
Test 0054: multiple @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0055: multiple @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0056: @typeof applies to @about on same element with hanging rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0057: hanging @rel creates multiple triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0059: multiple hanging @rels with multiple children PASS PASS PASS PASS PASS PASS PASS PASS
Test 0060: UTF-8 conformance PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0063: @rel in head using reserved XHTML value and empty-prefix CURIE syntax PASS PASS PASS PASS PASS PASS PASS PASS
Test 0064: @about with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0065: @rel with safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0067: @property in the head PASS PASS PASS PASS PASS PASS PASS PASS
Test 0068: Relative URI in @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0071: No explicit @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0079: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0080: @about overrides @resource in incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0083: multiple ways of handling incomplete triples (merged) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0084: multiple ways of handling incomplete triples, this time with both @rel and @rev PASS PASS PASS PASS PASS PASS PASS PASS
Test 0085: @resource and @href in completing incomplete triples PASS PASS PASS PASS PASS PASS PASS PASS
Test 0087: All reserved XHTML @rel values (with :xxx) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0088: Interpretation of the CURIE "_:" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0089: @src sets a new subject (@typeof) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0091: Non-reserved, un-prefixed CURIE in @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0093: Tests XMLLiteral content with explicit @datatype (user-data-typed literal) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0099: Preservation of white space in literals PASS PASS PASS PASS PASS PASS PASS PASS
Test 0104: rdf:value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0106: chaining with empty value in inner @rel PASS PASS PASS PASS PASS PASS PASS PASS
Test 0107: no garbage collecting bnodes PASS PASS PASS PASS PASS PASS PASS PASS
Test 0108: plain literal with datatype="" and xml:lang preservation PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0112: plain literal with datatype="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0113: element with @property and no child nodes generates empty plain literal PASS PASS PASS PASS PASS PASS PASS PASS
Test 0115: XML Entities must be supported by RDFa parser PASS PASS PASS PASS PASS PASS PASS PASS
Test 0118: empty string "" is not equivalent to NULL - @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0119: "[prefix:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0120: "[:]" CURIE format is valid PASS PASS PASS PASS PASS PASS PASS PASS
Test 0121: "[]" is a valid safe CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0122: resource="[]" does not set the object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0126: Multiple @typeof values PASS PASS PASS PASS PASS PASS PASS PASS
Test 0140: Blank nodes identifiers are not allowed as predicates PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0147: xmlns prefix 'xmlzzz' (reserved) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0174: Support single character prefix in CURIEs PASS PASS PASS PASS PASS PASS PASS PASS
Test 0175: IRI for @property is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0176: IRI for @rel and @rev is allowed PASS PASS PASS PASS PASS PASS PASS PASS
Test 0180: Test @prefix with empty mapping PASS PASS PASS PASS PASS PASS PASS PASS
Test 0181: Test default XHTML vocabulary PASS PASS PASS PASS PASS PASS PASS PASS
Test 0196: Test process explicit XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0202: Tests to ensure @xml:base used in SVG FAIL FAIL PASS FAIL PASS PASS PASS PASS
Test 0203: Tests to ensure @xml:base, XML+RDFa used in non-root elements in SVG PASS FAIL PASS FAIL PASS PASS PASS PASS
Test 0206: Usage of Initial Context PASS PASS PASS PASS PASS PASS PASS PASS
Test 0207: Vevent using @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0213: Datatype generation for a literal with XML content, version 1.1 PASS PASS PASS PASS PASS PASS PASS PASS
Test 0214: Root element has implicit @about="" PASS PASS PASS PASS PASS PASS PASS PASS
Test 0229: img[@src] test with omitted @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0246: hanging @rel creates multiple triples, @typeof permutation; RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0247: Multiple incomplete triples, RDFa 1.1version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0248: multiple ways of handling incomplete triples (with @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0249: multiple ways of handling incomplete triples (with @rel and @rev); RDFa 1.1 version PASS PASS PASS PASS PASS PASS PASS PASS
Test 0250: Checking the right behaviour of @typeof with @about, in presence of @property PASS PASS PASS PASS PASS PASS PASS PASS
Test 0258: The underscore character is not allowed as a prefix or in xmlns PASS PASS PASS PASS PASS PASS PASS PASS
Test 0259: XML+RDFa Initial Context PASS PASS PASS PASS PASS FAIL PASS PASS
Test 0261: White space preservation in XMLLiteral PASS PASS PASS PASS PASS PASS PASS PASS
Test 0262: Predicate establishment with @property, with white spaces before and after the attribute value PASS PASS PASS PASS PASS PASS PASS PASS
Test 0263: @property appearing on the html element yields the base as the subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0264: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0265: @property appearing on the head element gets the subject from , ie, parent PASS PASS PASS PASS PASS PASS PASS PASS
Test 0266: @property without @content or @datatype, typed object set by @href and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0267: @property without @content or @datatype, typed object set by @resource and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0268: @property without @content or @datatype, typed object set by @src and @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0269: Use of @property in HEAD without explicit subject PASS PASS PASS PASS PASS PASS PASS PASS
Test 0271: Use of @property in HEAD with explicit parent subject via @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0289: @href becomes subject when @property and @content are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0290: @href becomes subject when @property and @datatype are present PASS PASS PASS PASS PASS PASS PASS PASS
Test 0291: @href as subject overridden by @about PASS PASS PASS PASS PASS PASS PASS PASS
Test 0292: @about overriding @href as subject is used as parent resource PASS PASS PASS PASS PASS PASS PASS PASS
Test 0293: Testing the ':' character usage in a CURIE PASS PASS PASS PASS PASS PASS PASS PASS
Test 0295: Benchmark test PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0296: @property does set parent object without @typeof PASS PASS PASS PASS PASS PASS PASS PASS
Test 0297: @about=[] with @typeof does not create a new subject PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0298: @about=[] with @typeof does not create a new object PASS PASS PASS PASS PASS PASS PASS PASS
Test 0299: @resource=[] with @href or @src uses @href or @src (@rel) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0300: @resource=[] with @href or @src uses @href or @src (@property) PASS PASS PASS PASS PASS PASS PASS PASS
Test 0301: @property with @typeof creates a typed_resource for chaining PASS PASS PASS PASS PASS PASS PASS PASS
Test 0302: @typeof with different content types PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0311: Ensure no triples are generated when @property is empty PASS PASS PASS PASS PASS PASS PASS PASS
Test 0318: Setting @vocab to empty strings removes default vocabulary PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0319: Relative @profile PASS PASS PASS FAIL PASS FAIL PASS PASS
Test 0320: @property binds to @href PASS PASS PASS PASS PASS PASS PASS PASS
Test 0329: Recursive triple generation PASS PASS PASS FAIL PASS PASS PASS PASS
Test 0330: @datatype overrides inherited @lang PASS PASS PASS PASS PASS PASS PASS PASS
Test 0331: @datatype overrides inherited @lang, with @content PASS PASS PASS PASS PASS PASS PASS PASS
Percentage passed out of 125 Tests 99.2% 98.4% 100.0% 93.6% 100.0% 95.2% 100.0% 100.0%

1.7 XML+RDFa 1.1 Processor Graph

RDFa Core 1.1 [RDFA-CORE] Processor Status is an optional RDFa feature used to add triples for reporting on errors, warnings and other information. The processor adds a @rdfagraph attribute to indicate if the processor should return the output graph, processor graph, or both.

The XML [XML11] RDFa Host Language uses the generic [RDFA-CORE] processing rules.

Test clj-rdfa EasyRdf librdfa pyRdfa RDF-RDFa-Parser RDF::RDFa Semargl
Test 0235: rdfagraph='processor' does not generate standard triples PASS PASS PASS PASS PASS PASS PASS
Test 0236: rdfagraph='processor' with a markup error generates rdfa:Error PASS FAIL PASS PASS FAIL PASS PASS
Test 0237: rdfagraph='processor' with invalid SafeCURIE generates rdfa:Warning FAIL FAIL FAIL PASS FAIL PASS PASS
Test 0238: rdfagraph='processor' with missing Term definition generates rdfa:Warning FAIL FAIL FAIL PASS FAIL PASS PASS
Test 0239: rdfagraph='processor' with undefined prefix generates rdfa:Warning FAIL FAIL FAIL PASS FAIL PASS PASS
Percentage passed out of 5 Tests 40.0% 20.0% 40.0% 100.0% 20.0% 100.0% 100.0%

1.8 XML+Role Attribute

XHTML Role Attribute Module [XHTML-ROLE] is a specification for generating triples from the HTML @role attribute.

The XML [XML11] RDFa Host Language uses the generic [RDFA-CORE] processing rules.

Test clj-rdfa EasyRdf librdfa pyRdfa RDF-RDFa-Parser RDF::RDFa Semargl
Test 0305: role attribute with explicit id and term FAIL FAIL FAIL PASS FAIL PASS PASS
Test 0307: role attribute with term and no id FAIL FAIL FAIL PASS FAIL PASS PASS
Test 0308: role attribute with explicit id and IRI as object FAIL FAIL FAIL PASS FAIL PASS PASS
Test 0309: role attribute with explicit id and CURIE as object FAIL FAIL FAIL PASS FAIL PASS PASS
Test 0310: role attribute with multiple values FAIL FAIL FAIL PASS FAIL PASS PASS
Test 0314: Use of many terms from the default vocabulary FAIL FAIL FAIL PASS FAIL PASS PASS
Percentage passed out of 6 Tests 0.0% 0.0% 0.0% 100.0% 0.0% 100.0% 100.0%

1.9 XML+RDFa 1.1 Vocabulary

RDFa Core 1.1 [RDFA-CORE] Vocabulary Expansion is an optional RDFa extension used to perform limited OWL and RDFS expansion of terms associated with a Vocabulary.

The XML [XML11] RDFa Host Language uses the generic [RDFA-CORE] processing rules.

Test clj-rdfa EasyRdf librdfa pyRdfa RDF-RDFa-Parser RDF::RDFa Semargl
Test 0240: vocab_expansion='true' expands sub-property PASS FAIL FAIL PASS FAIL PASS PASS
Test 0241: vocab_expansion='true' expands equivalent-property PASS FAIL FAIL PASS FAIL PASS PASS
Test 0242: vocab_expansion='true' expands referenced equivalent-property PASS FAIL FAIL PASS FAIL PASS PASS
Test 0243: vocab_expansion='true' expands sub-class PASS FAIL FAIL PASS FAIL PASS PASS
Test 0244: vocab_expansion='true' expands equivalent-class PASS FAIL FAIL PASS FAIL PASS PASS
Test 0245: vocab_expansion='true' expands referenced equivalent-class PASS FAIL FAIL PASS FAIL PASS PASS
Percentage passed out of 6 Tests 100.0% 0.0% 0.0% 100.0% 0.0% 100.0% 100.0%

A. Processors

This report was tested using the following processors:

clj-rdfa
Description
A Clojure library for parsing RDFa 1.1 embedded in XML or HTML
Programming Language
Clojure
Developer
Niklas Lindström
Home Page
https://github.com/niklasl/clj-rdfa/wiki
Test Suite Compliance
HTML4+RDFa 1.1 167/168 (99.4%)
HTML5+RDFa 1.1 185/195 (94.9%)
SVG+RDFa 1.1 29/31 (93.5%)
XHTML1+RDFa 1.1 180/180 (100.0%)
XHTML5+RDFa 1.1 187/197 (94.9%)
XML+RDFa 1.1 124/125 (99.2%)
XML+RDFa 1.1 Processor Graph 2/5 (40.0%)
XML+RDFa 1.1 Vocabulary 6/6 (100.0%)
EasyRdf
Description
EasyRdf is a PHP library designed to make it easy to consume and produce RDF.
Programming Language
PHP
Developer
Nicholas J Humfrey
Home Page
http://www.aelius.com/njh/easyrdf/
Test Suite Compliance
HTML4+RDFa 1.1 166/168 (98.8%)
HTML5+RDFa 1.1 186/195 (95.4%)
SVG+RDFa 1.1 27/31 (87.1%)
XHTML1+RDFa 1.1 174/180 (96.7%)
XHTML5+RDFa 1.1 188/197 (95.4%)
XML+RDFa 1.1 123/125 (98.4%)
XML+RDFa 1.1 Processor Graph 1/5 (20.0%)
Green Turtle
Description
Green Turtle support for RDFa 1.1
Programming Language
Javascript
Developer
Alex Milowski
Home Page
https://code.google.com/p/green-turtle/
Test Suite Compliance
HTML4+RDFa 1.1 168/168 (100.0%)
HTML5+RDFa 1.1 195/195 (100.0%)
XHTML1+RDFa 1.1 180/180 (100.0%)
XHTML5+RDFa 1.1 197/197 (100.0%)
XML+RDFa 1.1 125/125 (100.0%)
librdfa
Description
SAX-based implementation of an RDFa Processor in C
Programming Language
C
Developer
Manu Sporny
Home Page
https://github.com/rdfa/librdfa/wiki
Test Suite Compliance
HTML4+RDFa 1.1 159/168 (94.6%)
HTML5+RDFa 1.1 166/195 (85.1%)
SVG+RDFa 1.1 25/31 (80.6%)
XHTML1+RDFa 1.1 173/180 (96.1%)
XHTML5+RDFa 1.1 168/197 (85.3%)
XML+RDFa 1.1 117/125 (93.6%)
XML+RDFa 1.1 Processor Graph 2/5 (40.0%)
pyRdfa
Description
pyRdfa is a distiller that generates RDF triples from an XML or HTML5 file annotated by RDFa in various RDF serialization formats. It can either be used directly from a command line or via a CGI service.
Programming Language
Python
Developer
Ivan Herman
Test Suite Compliance
HTML4+RDFa 1.1 168/168 (100.0%)
HTML5+RDFa 1.1 195/195 (100.0%)
SVG+RDFa 1.1 31/31 (100.0%)
XHTML1+RDFa 1.1 180/180 (100.0%)
XHTML5+RDFa 1.1 197/197 (100.0%)
XML+RDFa 1.1 125/125 (100.0%)
XML+RDFa 1.1 Processor Graph 5/5 (100.0%)
XML+Role Attribute 6/6 (100.0%)
XML+RDFa 1.1 Vocabulary 6/6 (100.0%)
RDF-RDFa-Parser
Programming Language
Perl
Developer
Toby Inkster
Home Page
https://metacpan.org/release/RDF-RDFa-Parser
Test Suite Compliance
HTML4+RDFa 1.1 161/168 (95.8%)
HTML5+RDFa 1.1 179/195 (91.8%)
SVG+RDFa 1.1 29/31 (93.5%)
XHTML1+RDFa 1.1 172/180 (95.6%)
XHTML5+RDFa 1.1 171/197 (86.8%)
XML+RDFa 1.1 119/125 (95.2%)
XML+RDFa 1.1 Processor Graph 1/5 (20.0%)
RDF::RDFa
Description
RDF::RDFa is an RDFa reader/writer for Ruby using the RDF.rb library suite.
Programming Language
Ruby
Developer
Gregg Kellogg
Home Page
http://github.com/gkellogg/rdf-rdfa
Test Suite Compliance
HTML4+RDFa 1.1 168/168 (100.0%)
HTML5+RDFa 1.1 195/195 (100.0%)
SVG+RDFa 1.1 31/31 (100.0%)
XHTML1+RDFa 1.1 180/180 (100.0%)
XHTML5+RDFa 1.1 197/197 (100.0%)
XML+RDFa 1.1 125/125 (100.0%)
XML+RDFa 1.1 Processor Graph 5/5 (100.0%)
XML+Role Attribute 6/6 (100.0%)
XML+RDFa 1.1 Vocabulary 6/6 (100.0%)
Semargl
Description
Semargl is a modular framework for crawling linked data from structured documents. The main goal of project is to provide lightweight and performant tool without excess dependencies.
Programming Language
java
Developer
Lev Khomich
Test Suite Compliance
HTML4+RDFa 1.1 168/168 (100.0%)
HTML5+RDFa 1.1 195/195 (100.0%)
SVG+RDFa 1.1 31/31 (100.0%)
XHTML1+RDFa 1.1 180/180 (100.0%)
XHTML5+RDFa 1.1 197/197 (100.0%)
XML+RDFa 1.1 125/125 (100.0%)
XML+RDFa 1.1 Processor Graph 5/5 (100.0%)
XML+Role Attribute 6/6 (100.0%)
XML+RDFa 1.1 Vocabulary 6/6 (100.0%)

B. Test Definitions

Tests are repeated for each RDFa version and Host Language as necessary, but are based on common tests with minor rewriting based on host language specific attributes.

Input and SPARQL representations are shown for XHTML5, but will have some slight variation for different host languages.

Test 0001: Predicate establishment with @property

Tests @property to establish the predicate; literal object is in the content of the element.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0001.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0001</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
</body>
</html>
Example 2: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0001.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for HTML5+RDFa 1.1:

Example 3: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0001.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0001</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
</body>
</html>
Example 4: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0001.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML1+RDFa 1.1:

Example 5: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0001.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0001</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
</body>
</html>
Example 6: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0001.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 7: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0001.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0001</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
</body>
</html>
Example 8: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0001.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XML+RDFa 1.1:

Example 9: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0001.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0001</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
</body>
</root>
Example 10: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0001.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}
Test 0006: @rel and @rev

Tests @rev and @rel together, with the object being specified by @href, ignoring content

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 11: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0006.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0006</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</html>
Example 12: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0006.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}




Test files for HTML5+RDFa 1.1:

Example 13: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0006.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0006</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</html>
Example 14: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0006.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}




Test files for XHTML1+RDFa 1.1:

Example 15: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0006.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0006</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</html>
Example 16: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0006.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}




Test files for XHTML5+RDFa 1.1:

Example 17: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0006.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0006</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</html>
Example 18: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0006.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}




Test files for XML+RDFa 1.1:

Example 19: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0006.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0006</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</root>
Example 20: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0006.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}




Test 0007: @rel, @rev, @property, @content

Tests @rel, @rev, @property, and @content together to generate several RDF triples.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 21: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0007.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0007</title>
</head>
<body>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</html>
Example 22: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0007.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/photo1.jpg> <http://purl.org/dc/elements/1.1/title> "Portrait of Mark" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}

Test files for HTML5+RDFa 1.1:

Example 23: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0007.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0007</title>
</head>
<body>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</html>
Example 24: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0007.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/photo1.jpg> <http://purl.org/dc/elements/1.1/title> "Portrait of Mark" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}

Test files for XHTML1+RDFa 1.1:

Example 25: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0007.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0007</title>
</head>
<body>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</html>
Example 26: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0007.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/photo1.jpg> <http://purl.org/dc/elements/1.1/title> "Portrait of Mark" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}

Test files for XHTML5+RDFa 1.1:

Example 27: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0007.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0007</title>
</head>
<body>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</html>
Example 28: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0007.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/photo1.jpg> <http://purl.org/dc/elements/1.1/title> "Portrait of Mark" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}

Test files for XML+RDFa 1.1:

Example 29: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0007.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0007</title>
</head>
<body>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>
</root>
Example 30: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0007.sparql
ASK WHERE {
<http://www.blogger.com/profile/1109404> <http://xmlns.com/foaf/0.1/img> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/photo1.jpg> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/photo1.jpg> <http://purl.org/dc/elements/1.1/title> "Portrait of Mark" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}
Test 0008: empty string @about

Tests empty @about.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 31: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0008.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0008</title>
</head>
<body>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
</body>
</html>
Example 32: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0008.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0008.html> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}

Test files for HTML5+RDFa 1.1:

Example 33: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0008.html
<!DOCTYPE html>
<html xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0008</title>
</head>
<body>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
</body>
</html>
Example 34: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0008.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0008.html> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}

Test files for XHTML1+RDFa 1.1:

Example 35: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0008.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0008</title>
</head>
<body>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
</body>
</html>
Example 36: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0008.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0008.xhtml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}

Test files for XHTML5+RDFa 1.1:

Example 37: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0008.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0008</title>
</head>
<body>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
</body>
</html>
Example 38: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0008.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0008.xhtml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}

Test files for XML+RDFa 1.1:

Example 39: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0008.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0008</title>
</head>
<body>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
</body>
</root>
Example 40: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0008.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0008.xml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}
Test 0009: @rev

Tests @rev.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 41: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0009.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0009</title>
<link about="http://example.org/people#Person1"
rev="foaf:knows" href="http://example.org/people#Person2" />

</head>
<body>
<p></p>
</body>
</html>
Example 42: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0009.sparql
ASK WHERE {
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}

Test files for HTML5+RDFa 1.1:

Example 43: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0009.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0009</title>
<link about="http://example.org/people#Person1"
rev="foaf:knows" href="http://example.org/people#Person2" />

</head>
<body>
<p></p>
</body>
</html>
Example 44: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0009.sparql
ASK WHERE {
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}

Test files for XHTML1+RDFa 1.1:

Example 45: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0009.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0009</title>
<link about="http://example.org/people#Person1"
rev="foaf:knows" href="http://example.org/people#Person2" />

</head>
<body>
<p></p>
</body>
</html>
Example 46: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0009.sparql
ASK WHERE {
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}

Test files for XHTML5+RDFa 1.1:

Example 47: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0009.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0009</title>
<link about="http://example.org/people#Person1"
rev="foaf:knows" href="http://example.org/people#Person2" />

</head>
<body>
<p></p>
</body>
</html>
Example 48: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0009.sparql
ASK WHERE {
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}

Test files for XML+RDFa 1.1:

Example 49: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0009.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0009</title>
<link about="http://example.org/people#Person1"
rev="foaf:knows" href="http://example.org/people#Person2" />

</head>
<body>
<p></p>
</body>
</root>
Example 50: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0009.sparql
ASK WHERE {
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}
Test 0010: @rel, @rev, @href

Tests @rel, @rev, and @href to generate two RDF triples.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 51: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0010.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0010</title>
<link about="http://example.org/people#Person1"
rel="foaf:knows" rev="foaf:knows" href="http://example.org/people#Person2" />
</head>
<body>
<p></p>
</body>
</html>
Example 52: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0010.sparql
ASK WHERE {
<http://example.org/people#Person1> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person2> .
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}

Test files for HTML5+RDFa 1.1:

Example 53: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0010.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0010</title>
<link about="http://example.org/people#Person1"
rel="foaf:knows" rev="foaf:knows" href="http://example.org/people#Person2" />
</head>
<body>
<p></p>
</body>
</html>
Example 54: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0010.sparql
ASK WHERE {
<http://example.org/people#Person1> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person2> .
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}

Test files for XHTML1+RDFa 1.1:

Example 55: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0010.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0010</title>
<link about="http://example.org/people#Person1"
rel="foaf:knows" rev="foaf:knows" href="http://example.org/people#Person2" />
</head>
<body>
<p></p>
</body>
</html>
Example 56: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0010.sparql
ASK WHERE {
<http://example.org/people#Person1> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person2> .
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}

Test files for XHTML5+RDFa 1.1:

Example 57: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0010.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0010</title>
<link about="http://example.org/people#Person1"
rel="foaf:knows" rev="foaf:knows" href="http://example.org/people#Person2" />
</head>
<body>
<p></p>
</body>
</html>
Example 58: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0010.sparql
ASK WHERE {
<http://example.org/people#Person1> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person2> .
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}

Test files for XML+RDFa 1.1:

Example 59: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0010.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0010</title>
<link about="http://example.org/people#Person1"
rel="foaf:knows" rev="foaf:knows" href="http://example.org/people#Person2" />
</head>
<body>
<p></p>
</body>
</root>
Example 60: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0010.sparql
ASK WHERE {
<http://example.org/people#Person1> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person2> .
<http://example.org/people#Person2> <http://xmlns.com/foaf/0.1/knows> <http://example.org/people#Person1> .
}
Test 0012: @xml:lang

Tests @xml:lang

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 61: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0012.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/">
<head about="">
<title>Test 0012</title>
<meta about="http://example.org/node" property="ex:property" xml:lang="fr" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 62: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0012.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}

Test files for XML+RDFa 1.1:

Example 63: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0012.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ex="http://example.org/">
<head about="">
<title>Test 0012</title>
<meta about="http://example.org/node" property="ex:property" xml:lang="fr" content="chat" />
</head>
<body>
<p></p>
</body>
</root>
Example 64: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0012.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}
Test 0013: @xml:lang inheritance

Tests @xml:lang inheritance

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 65: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0013.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/">
<head about="" xml:lang="fr">
<title xml:lang="en">Test 0013</title>
<meta about="http://example.org/node" property="ex:property" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 66: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0013.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}

Test files for XML+RDFa 1.1:

Example 67: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0013.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ex="http://example.org/">
<head about="" xml:lang="fr">
<title xml:lang="en">Test 0013</title>
<meta about="http://example.org/node" property="ex:property" content="chat" />
</head>
<body>
<p></p>
</body>
</root>
Example 68: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0013.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}
Test 0014: @datatype, xsd:integer

Tests setting the @datatype to xsd:integer

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 69: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0014.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:ex="http://example.org/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0014</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
</body>
</html>
Example 70: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0014.sparql
ASK WHERE {
<http://example.org/foo> <http://example.org/bar> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
}

Test files for HTML5+RDFa 1.1:

Example 71: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0014.html
<!DOCTYPE html>
<html xmlns:ex="http://example.org/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0014</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
</body>
</html>
Example 72: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0014.sparql
ASK WHERE {
<http://example.org/foo> <http://example.org/bar> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
}

Test files for XHTML1+RDFa 1.1:

Example 73: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0014.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0014</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
</body>
</html>
Example 74: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0014.sparql
ASK WHERE {
<http://example.org/foo> <http://example.org/bar> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
}

Test files for XHTML5+RDFa 1.1:

Example 75: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0014.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ex="http://example.org/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0014</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
</body>
</html>
Example 76: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0014.sparql
ASK WHERE {
<http://example.org/foo> <http://example.org/bar> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
}

Test files for XML+RDFa 1.1:

Example 77: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0014.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ex="http://example.org/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0014</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
</body>
</root>
Example 78: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0014.sparql
ASK WHERE {
<http://example.org/foo> <http://example.org/bar> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
}
Test 0015: meta and link

Tests meta and link with no parent @about

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 79: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0015.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0015</title>
<link rel="dc:source" href="urn:isbn:0140449132" />
<meta property="dc:creator" content="Fyodor Dostoevsky" />
</head>
<body>
<p></p>
</body>
</html>
Example 80: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0015.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0015.html> <http://purl.org/dc/elements/1.1/creator> "Fyodor Dostoevsky" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0015.html> <http://purl.org/dc/elements/1.1/source> <urn:isbn:0140449132> .
}

Test files for HTML5+RDFa 1.1:

Example 81: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0015.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0015</title>
<link rel="dc:source" href="urn:isbn:0140449132" />
<meta property="dc:creator" content="Fyodor Dostoevsky" />
</head>
<body>
<p></p>
</body>
</html>
Example 82: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0015.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0015.html> <http://purl.org/dc/elements/1.1/creator> "Fyodor Dostoevsky" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0015.html> <http://purl.org/dc/elements/1.1/source> <urn:isbn:0140449132> .
}

Test files for XHTML1+RDFa 1.1:

Example 83: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0015.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0015</title>
<link rel="dc:source" href="urn:isbn:0140449132" />
<meta property="dc:creator" content="Fyodor Dostoevsky" />
</head>
<body>
<p></p>
</body>
</html>
Example 84: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0015.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0015.xhtml> <http://purl.org/dc/elements/1.1/creator> "Fyodor Dostoevsky" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0015.xhtml> <http://purl.org/dc/elements/1.1/source> <urn:isbn:0140449132> .
}

Test files for XHTML5+RDFa 1.1:

Example 85: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0015.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0015</title>
<link rel="dc:source" href="urn:isbn:0140449132" />
<meta property="dc:creator" content="Fyodor Dostoevsky" />
</head>
<body>
<p></p>
</body>
</html>
Example 86: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0015.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0015.xhtml> <http://purl.org/dc/elements/1.1/creator> "Fyodor Dostoevsky" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0015.xhtml> <http://purl.org/dc/elements/1.1/source> <urn:isbn:0140449132> .
}

Test files for XML+RDFa 1.1:

Example 87: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0015.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0015</title>
<link rel="dc:source" href="urn:isbn:0140449132" />
<meta property="dc:creator" content="Fyodor Dostoevsky" />
</head>
<body>
<p></p>
</body>
</root>
Example 88: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0015.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0015.xml> <http://purl.org/dc/elements/1.1/creator> "Fyodor Dostoevsky" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0015.xml> <http://purl.org/dc/elements/1.1/source> <urn:isbn:0140449132> .
}
Test 0017: Related blanknodes

Tests creation of statements involving explicitly created blank nodes.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 89: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0017.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0017</title>
</head>
<body>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
</body>
</html>
Example 90: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0017.sparql
ASK WHERE {
?x <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
?x <http://xmlns.com/foaf/0.1/knows> ?y .
?y <http://xmlns.com/foaf/0.1/name> "Ralph Swick" .
FILTER (isBlank(?x) && isBlank(?y))
}

Test files for HTML5+RDFa 1.1:

Example 91: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0017.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0017</title>
</head>
<body>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
</body>
</html>
Example 92: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0017.sparql
ASK WHERE {
?x <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
?x <http://xmlns.com/foaf/0.1/knows> ?y .
?y <http://xmlns.com/foaf/0.1/name> "Ralph Swick" .
FILTER (isBlank(?x) && isBlank(?y))
}

Test files for XHTML1+RDFa 1.1:

Example 93: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0017.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0017</title>
</head>
<body>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
</body>
</html>
Example 94: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0017.sparql
ASK WHERE {
?x <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
?x <http://xmlns.com/foaf/0.1/knows> ?y .
?y <http://xmlns.com/foaf/0.1/name> "Ralph Swick" .
FILTER (isBlank(?x) && isBlank(?y))
}

Test files for XHTML5+RDFa 1.1:

Example 95: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0017.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0017</title>
</head>
<body>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
</body>
</html>
Example 96: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0017.sparql
ASK WHERE {
?x <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
?x <http://xmlns.com/foaf/0.1/knows> ?y .
?y <http://xmlns.com/foaf/0.1/name> "Ralph Swick" .
FILTER (isBlank(?x) && isBlank(?y))
}

Test files for XML+RDFa 1.1:

Example 97: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0017.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0017</title>
</head>
<body>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
</body>
</root>
Example 98: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0017.sparql
ASK WHERE {
?x <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
?x <http://xmlns.com/foaf/0.1/knows> ?y .
?y <http://xmlns.com/foaf/0.1/name> "Ralph Swick" .
FILTER (isBlank(?x) && isBlank(?y))
}
Test 0018: @rel for predicate

Tests @rel to establish predicate.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 99: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0018.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0018</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>


</html>
Example 100: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0018.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}

Test files for HTML5+RDFa 1.1:

Example 101: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0018.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0018</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>


</html>
Example 102: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0018.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}

Test files for XHTML1+RDFa 1.1:

Example 103: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0018.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0018</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>


</html>
Example 104: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0018.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}

Test files for XHTML5+RDFa 1.1:

Example 105: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0018.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0018</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>


</html>
Example 106: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0018.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}

Test files for XML+RDFa 1.1:

Example 107: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0018.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0018</title>
</head>
<body>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
</body>


</root>
Example 108: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0018.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> <http://www.blogger.com/profile/1109404> .
}
Test 0019: @about for subject

Tests @about to establish subject.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 109: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0019.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0019</title>
</head>
<body>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
</body>
</html>
Example 110: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0019.sparql
ASK WHERE {
<mailto:manu.sporny@digitalbazaar.com> <http://xmlns.com/foaf/0.1/knows> <mailto:michael.hausenblas@joanneum.at> .
}

Test files for HTML5+RDFa 1.1:

Example 111: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0019.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0019</title>
</head>
<body>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
</body>
</html>
Example 112: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0019.sparql
ASK WHERE {
<mailto:manu.sporny@digitalbazaar.com> <http://xmlns.com/foaf/0.1/knows> <mailto:michael.hausenblas@joanneum.at> .
}

Test files for XHTML1+RDFa 1.1:

Example 113: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0019.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0019</title>
</head>
<body>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
</body>
</html>
Example 114: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0019.sparql
ASK WHERE {
<mailto:manu.sporny@digitalbazaar.com> <http://xmlns.com/foaf/0.1/knows> <mailto:michael.hausenblas@joanneum.at> .
}

Test files for XHTML5+RDFa 1.1:

Example 115: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0019.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0019</title>
</head>
<body>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
</body>
</html>
Example 116: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0019.sparql
ASK WHERE {
<mailto:manu.sporny@digitalbazaar.com> <http://xmlns.com/foaf/0.1/knows> <mailto:michael.hausenblas@joanneum.at> .
}

Test files for XML+RDFa 1.1:

Example 117: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0019.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0019</title>
</head>
<body>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
</body>
</root>
Example 118: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0019.sparql
ASK WHERE {
<mailto:manu.sporny@digitalbazaar.com> <http://xmlns.com/foaf/0.1/knows> <mailto:michael.hausenblas@joanneum.at> .
}
Test 0020: Inheriting @about for subject

Tests @about inheritance to establish subject.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 119: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0020.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0020</title>
</head>
<body>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</html>
Example 120: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0020.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for HTML5+RDFa 1.1:

Example 121: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0020.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0020</title>
</head>
<body>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</html>
Example 122: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0020.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML1+RDFa 1.1:

Example 123: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0020.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0020</title>
</head>
<body>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</html>
Example 124: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0020.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 125: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0020.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0020</title>
</head>
<body>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</html>
Example 126: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0020.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XML+RDFa 1.1:

Example 127: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0020.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0020</title>
</head>
<body>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</root>
Example 128: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0020.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}
Test 0021: Subject inheritance with no @about

Tests inheritance of subject when no @about can be found

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 129: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0021.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0021</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</html>
Example 130: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0021.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0021.html> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for HTML5+RDFa 1.1:

Example 131: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0021.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0021</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</html>
Example 132: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0021.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0021.html> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML1+RDFa 1.1:

Example 133: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0021.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0021</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</html>
Example 134: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0021.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0021.xhtml> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 135: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0021.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0021</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</html>
Example 136: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0021.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0021.xhtml> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XML+RDFa 1.1:

Example 137: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0021.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0021</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>


</root>
Example 138: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0021.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0021.xml> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}
Test 0023: @id does not generate subjects

Tests that @id does not generate subjects

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 139: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0023.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0023</title>
</head>
<body>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
</body>


</html>
Example 140: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0023.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0023.html> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for HTML5+RDFa 1.1:

Example 141: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0023.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0023</title>
</head>
<body>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
</body>


</html>
Example 142: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0023.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0023.html> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML1+RDFa 1.1:

Example 143: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0023.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0023</title>
</head>
<body>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
</body>


</html>
Example 144: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0023.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0023.xhtml> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 145: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0023.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0023</title>
</head>
<body>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
</body>


</html>
Example 146: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0023.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0023.xhtml> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XML+RDFa 1.1:

Example 147: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0023.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0023</title>
</head>
<body>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
</body>


</root>
Example 148: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0023.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0023.xml> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}
Test 0025: simple chaining test

Tests simple chaining with cascade of @resource and @property

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 149: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0025.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0025</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</html>
Example 150: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0025.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0025.html> <http://purl.org/dc/elements/1.1/creator> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0025.html#me> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0025.html#me> <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
}

Test files for HTML5+RDFa 1.1:

Example 151: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0025.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0025</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</html>
Example 152: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0025.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0025.html> <http://purl.org/dc/elements/1.1/creator> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0025.html#me> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0025.html#me> <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
}

Test files for XHTML1+RDFa 1.1:

Example 153: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0025.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0025</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</html>
Example 154: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0025.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0025.xhtml> <http://purl.org/dc/elements/1.1/creator> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0025.xhtml#me> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0025.xhtml#me> <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
}

Test files for XHTML5+RDFa 1.1:

Example 155: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0025.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0025</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</html>
Example 156: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0025.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0025.xhtml> <http://purl.org/dc/elements/1.1/creator> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0025.xhtml#me> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0025.xhtml#me> <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
}

Test files for XML+RDFa 1.1:

Example 157: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0025.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0025</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</root>
Example 158: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0025.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0025.xml> <http://purl.org/dc/elements/1.1/creator> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0025.xml#me> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0025.xml#me> <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
}
Test 0026: @content

Tests @content for literal object

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 159: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0026.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0026</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
</body>


</html>
Example 160: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0026.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for HTML5+RDFa 1.1:

Example 161: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0026.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0026</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
</body>


</html>
Example 162: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0026.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML1+RDFa 1.1:

Example 163: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0026.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0026</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
</body>


</html>
Example 164: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0026.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 165: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0026.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0026</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
</body>


</html>
Example 166: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0026.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XML+RDFa 1.1:

Example 167: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0026.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0026</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
</body>


</root>
Example 168: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0026.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}
Test 0027: @content, ignore element content

Tests @content for literal object, overriding element content.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 169: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0027.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0027</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
</body>


</html>
Example 170: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0027.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for HTML5+RDFa 1.1:

Example 171: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0027.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0027</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
</body>


</html>
Example 172: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0027.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML1+RDFa 1.1:

Example 173: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0027.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0027</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
</body>


</html>
Example 174: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0027.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 175: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0027.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0027</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
</body>


</html>
Example 176: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0027.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XML+RDFa 1.1:

Example 177: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0027.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0027</title>
</head>
<body>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
</body>


</root>
Example 178: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0027.sparql
ASK WHERE {
<http://internet-apps.blogspot.com/> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}
Test 0029: markup stripping with @datatype

Tests markup stripping from a span element with @datatype=xsd:string

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 179: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0029.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0029</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
</body>


</html>
Example 180: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0029.sparql
ASK WHERE {
<http://example.org/foo> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck"^^<http://www.w3.org/2001/XMLSchema#string> .
}

Test files for HTML5+RDFa 1.1:

Example 181: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0029.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0029</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
</body>


</html>
Example 182: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0029.sparql
ASK WHERE {
<http://example.org/foo> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck"^^<http://www.w3.org/2001/XMLSchema#string> .
}

Test files for XHTML1+RDFa 1.1:

Example 183: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0029.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0029</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
</body>


</html>
Example 184: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0029.sparql
ASK WHERE {
<http://example.org/foo> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck"^^<http://www.w3.org/2001/XMLSchema#string> .
}

Test files for XHTML5+RDFa 1.1:

Example 185: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0029.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0029</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
</body>


</html>
Example 186: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0029.sparql
ASK WHERE {
<http://example.org/foo> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck"^^<http://www.w3.org/2001/XMLSchema#string> .
}

Test files for XML+RDFa 1.1:

Example 187: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0029.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0029</title>
</head>
<body>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
</body>


</root>
Example 188: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0029.sparql
ASK WHERE {
<http://example.org/foo> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck"^^<http://www.w3.org/2001/XMLSchema#string> .
}
Test 0030: omitted @about

Tests omitted @about.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 189: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0030.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0030</title>
</head>
<body>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
</body>
</html>
Example 190: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0030.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0030.html> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}

Test files for HTML5+RDFa 1.1:

Example 191: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0030.html
<!DOCTYPE html>
<html xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0030</title>
</head>
<body>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
</body>
</html>
Example 192: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0030.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0030.html> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}

Test files for XHTML1+RDFa 1.1:

Example 193: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0030.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0030</title>
</head>
<body>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
</body>
</html>
Example 194: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0030.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0030.xhtml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}

Test files for XHTML5+RDFa 1.1:

Example 195: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0030.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0030</title>
</head>
<body>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
</body>
</html>
Example 196: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0030.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0030.xhtml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}

Test files for XML+RDFa 1.1:

Example 197: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0030.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0030</title>
</head>
<body>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
</body>
</root>
Example 198: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0030.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0030.xml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nc-nd/2.5/> .
}
Test 0031: simple @resource

Tests if @resource sets URIref object correct.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 199: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0031.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0031</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
</body>
</html>
Example 200: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0031.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0031.html#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}

Test files for HTML5+RDFa 1.1:

Example 201: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0031.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0031</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
</body>
</html>
Example 202: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0031.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0031.html#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}

Test files for XHTML1+RDFa 1.1:

Example 203: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0031.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0031</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
</body>
</html>
Example 204: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0031.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0031.xhtml#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}

Test files for XHTML5+RDFa 1.1:

Example 205: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0031.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0031</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
</body>
</html>
Example 206: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0031.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0031.xhtml#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}

Test files for XML+RDFa 1.1:

Example 207: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0031.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0031</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
</body>
</root>
Example 208: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0031.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0031.xml#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}
Test 0032: @resource overrides @href

Tests if @resource overrides @href to set the URIref object.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 209: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0032.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0032</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
</body>
</html>
Example 210: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0032.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0032.html#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}

Test files for HTML5+RDFa 1.1:

Example 211: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0032.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0032</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
</body>
</html>
Example 212: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0032.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0032.html#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}

Test files for XHTML1+RDFa 1.1:

Example 213: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0032.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0032</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
</body>
</html>
Example 214: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0032.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0032.xhtml#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}

Test files for XHTML5+RDFa 1.1:

Example 215: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0032.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0032</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
</body>
</html>
Example 216: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0032.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0032.xhtml#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}

Test files for XML+RDFa 1.1:

Example 217: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0032.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0032</title>
</head>
<body>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
</body>
</root>
Example 218: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0032.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0032.xml#wtw> <http://purl.org/dc/elements/1.1/identifier> <urn:ISBN:0752820907> .
}
Test 0033: simple chaining test with bNode

Tests simple chaining with cascade of bNode and @property

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 219: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0033.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0033</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</html>
Example 220: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0033.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0033.html> <http://purl.org/dc/elements/1.1/creator> ?a .
?a <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 221: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0033.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0033</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</html>
Example 222: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0033.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0033.html> <http://purl.org/dc/elements/1.1/creator> ?a .
?a <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 223: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0033.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0033</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</html>
Example 224: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0033.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0033.xhtml> <http://purl.org/dc/elements/1.1/creator> ?a .
?a <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 225: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0033.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0033</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</html>
Example 226: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0033.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0033.xhtml> <http://purl.org/dc/elements/1.1/creator> ?a .
?a <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
FILTER isBlank(?a)
}

Test files for XML+RDFa 1.1:

Example 227: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0033.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0033</title>
</head>
<body>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
</body>


</root>
Example 228: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0033.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0033.xml> <http://purl.org/dc/elements/1.1/creator> ?a .
?a <http://xmlns.com/foaf/0.1/name> "Ben Adida" .
FILTER isBlank(?a)
}
Test 0034: simple img[@src] test

Tests if a @src (in img element) correctly sets the URIref object

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 229: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0034.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0034</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 230: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0034.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}

Test files for HTML5+RDFa 1.1:

Example 231: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0034.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0034</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 232: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0034.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}

Test files for XHTML1+RDFa 1.1:

Example 233: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0034.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0034</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 234: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0034.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}

Test files for XHTML5+RDFa 1.1:

Example 235: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0034.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0034</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 236: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0034.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}

Test files for XML+RDFa 1.1:

Example 237: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0034.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0034</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</root>
Example 238: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0034.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}
Test 0035: @src/@href test

Tests if @href overwrites @src

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 239: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0035.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0035</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 240: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0035.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}

Test files for HTML5+RDFa 1.1:

Example 241: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0035.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0035</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 242: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0035.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}

Test files for XHTML1+RDFa 1.1:

Example 243: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0035.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0035</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 244: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0035.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}

Test files for XHTML5+RDFa 1.1:

Example 245: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0035.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0035</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 246: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0035.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}

Test files for XML+RDFa 1.1:

Example 247: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0035.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0035</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</root>
Example 248: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0035.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}
Test 0036: @src/@resource test

Tests if @resource overwrites @src

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 249: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0036.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0036</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 250: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0036.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}

Test files for HTML5+RDFa 1.1:

Example 251: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0036.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0036</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 252: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0036.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}

Test files for XHTML1+RDFa 1.1:

Example 253: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0036.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0036</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 254: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0036.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}

Test files for XHTML5+RDFa 1.1:

Example 255: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0036.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0036</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 256: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0036.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}

Test files for XML+RDFa 1.1:

Example 257: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0036.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0036</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</root>
Example 258: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0036.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2006_03.jpg> .
}
Test 0037: @src/@href/@resource test

Tests if @resource overwrites both @href and @src

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 259: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0037.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0037</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 260: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0037.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/mic.xhtml#photo> .
}

Test files for HTML5+RDFa 1.1:

Example 261: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0037.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0037</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 262: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0037.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/mic.xhtml#photo> .
}

Test files for XHTML1+RDFa 1.1:

Example 263: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0037.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0037</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 264: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0037.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/mic.xhtml#photo> .
}

Test files for XHTML5+RDFa 1.1:

Example 265: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0037.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0037</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 266: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0037.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/mic.xhtml#photo> .
}

Test files for XML+RDFa 1.1:

Example 267: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0037.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0037</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</root>
Example 268: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0037.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#i> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/mic.xhtml#photo> .
}
Test 0038: @rev - img[@src] test

Tests if a @src (in img element) correctly sets the URIref subject (due to @rev)

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 269: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0038.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0038</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 270: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0038.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2007_01.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for HTML5+RDFa 1.1:

Example 271: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0038.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0038</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 272: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0038.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2007_01.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for XHTML1+RDFa 1.1:

Example 273: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0038.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0038</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 274: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0038.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2007_01.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for XHTML5+RDFa 1.1:

Example 275: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0038.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0038</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 276: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0038.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2007_01.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for XML+RDFa 1.1:

Example 277: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0038.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0038</title>
</head>
<body>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</root>
Example 278: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0038.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2007_01.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}
Test 0039: @rev - @src/@href test

Tests if @href overwrites @src correctly to set the URIref subject (due to @rev)

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 279: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0039.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0039</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 280: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0039.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2006_03.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for HTML5+RDFa 1.1:

Example 281: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0039.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0039</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 282: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0039.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2006_03.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for XHTML1+RDFa 1.1:

Example 283: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0039.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0039</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 284: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0039.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2006_03.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for XHTML5+RDFa 1.1:

Example 285: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0039.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0039</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 286: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0039.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2006_03.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for XML+RDFa 1.1:

Example 287: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0039.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0039</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</root>
Example 288: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0039.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2006_03.jpg> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}
Test 0041: @rev - @src/@href/@resource test

Tests if @resource overwrites both @href and @src correctly to set the URIref subject (due to @rev)

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 289: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0041.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0041</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 290: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0041.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#photo> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for HTML5+RDFa 1.1:

Example 291: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0041.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0041</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 292: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0041.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#photo> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for XHTML1+RDFa 1.1:

Example 293: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0041.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0041</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 294: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0041.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#photo> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for XHTML5+RDFa 1.1:

Example 295: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0041.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0041</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 296: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0041.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#photo> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}

Test files for XML+RDFa 1.1:

Example 297: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0041.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0041</title>
</head>
<body>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
</body>
</root>
Example 298: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0041.sparql
ASK WHERE {
<http://sw-app.org/mic.xhtml#photo> <http://xmlns.com/foaf/0.1/depicts> <http://sw-app.org/mic.xhtml#i> .
}
Test 0048: @typeof with @about and @rel present, no @resource

Tests @typeof with @about and @rel present, no @resource

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 299: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0048.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0048</title>
</head>
<body>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 300: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0048.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 301: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0048.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0048</title>
</head>
<body>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 302: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0048.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 303: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0048.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0048</title>
</head>
<body>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 304: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0048.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 305: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0048.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0048</title>
</head>
<body>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 306: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0048.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
FILTER isBlank(?a)
}

Test files for XML+RDFa 1.1:

Example 307: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0048.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0048</title>
</head>
<body>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</root>
Example 308: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0048.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
FILTER isBlank(?a)
}
Test 0049: @typeof with @about, no @rel or @resource

Tests @typeof with @about, no @rel or @resource

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 309: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0049.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0049</title>
</head>
<body>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 310: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0049.sparql
ASK WHERE {
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}

Test files for HTML5+RDFa 1.1:

Example 311: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0049.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0049</title>
</head>
<body>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 312: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0049.sparql
ASK WHERE {
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}

Test files for XHTML1+RDFa 1.1:

Example 313: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0049.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0049</title>
</head>
<body>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 314: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0049.sparql
ASK WHERE {
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}

Test files for XHTML5+RDFa 1.1:

Example 315: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0049.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0049</title>
</head>
<body>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 316: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0049.sparql
ASK WHERE {
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}

Test files for XML+RDFa 1.1:

Example 317: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0049.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0049</title>
</head>
<body>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</root>
Example 318: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0049.sparql
ASK WHERE {
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}
Test 0050: @typeof without anything else

Tests @typeof without anything else

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 319: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0050.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0050</title>
</head>
<body>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 320: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0050.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 321: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0050.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0050</title>
</head>
<body>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 322: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0050.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 323: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0050.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0050</title>
</head>
<body>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 324: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0050.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 325: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0050.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0050</title>
</head>
<body>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 326: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0050.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
FILTER isBlank(?a)
}

Test files for XML+RDFa 1.1:

Example 327: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0050.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0050</title>
</head>
<body>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</root>
Example 328: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0050.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "John Doe" .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
FILTER isBlank(?a)
}
Test 0051: @typeof with a single @property

Tests @typeof with a single @property

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 329: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0051.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0051</title>
</head>
<body>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
</body>
</html>
Example 330: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0051.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0051.html> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0051.html> <http://xmlns.com/foaf/0.1/topic> "John Doe" .
}

Test files for HTML5+RDFa 1.1:

Example 331: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0051.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0051</title>
</head>
<body>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
</body>
</html>
Example 332: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0051.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0051.html> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0051.html> <http://xmlns.com/foaf/0.1/topic> "John Doe" .
}

Test files for XHTML1+RDFa 1.1:

Example 333: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0051.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0051</title>
</head>
<body>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
</body>
</html>
Example 334: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0051.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0051.xhtml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0051.xhtml> <http://xmlns.com/foaf/0.1/topic> "John Doe" .
}

Test files for XHTML5+RDFa 1.1:

Example 335: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0051.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0051</title>
</head>
<body>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
</body>
</html>
Example 336: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0051.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0051.xhtml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0051.xhtml> <http://xmlns.com/foaf/0.1/topic> "John Doe" .
}

Test files for XML+RDFa 1.1:

Example 337: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0051.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0051</title>
</head>
<body>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
</body>
</root>
Example 338: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0051.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0051.xml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0051.xml> <http://xmlns.com/foaf/0.1/topic> "John Doe" .
}
Test 0052: @typeof with @resource and nothing else

Tests to ensure that @typeof does not apply to @resource

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 339: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0052.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0052</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
</body>
</html>
Example 340: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0052.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}

Test files for HTML5+RDFa 1.1:

Example 341: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0052.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0052</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
</body>
</html>
Example 342: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0052.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}

Test files for XHTML1+RDFa 1.1:

Example 343: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0052.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0052</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
</body>
</html>
Example 344: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0052.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}

Test files for XHTML5+RDFa 1.1:

Example 345: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0052.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0052</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
</body>
</html>
Example 346: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0052.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}

Test files for XML+RDFa 1.1:

Example 347: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0052.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0052</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
</body>
</root>
Example 348: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0052.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
}
Test 0053: @typeof with @resource and nothing else, with a subelement

Tests to make sure that @typeof does not apply to @resource, but @resource sets the subject for the next triple to be generated

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 349: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0053.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0053</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
</body>
</html>
Example 350: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0053.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
}

Test files for HTML5+RDFa 1.1:

Example 351: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0053.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0053</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
</body>
</html>
Example 352: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0053.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
}

Test files for XHTML1+RDFa 1.1:

Example 353: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0053.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0053</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
</body>
</html>
Example 354: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0053.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
}

Test files for XHTML5+RDFa 1.1:

Example 355: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0053.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0053</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
</body>
</html>
Example 356: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0053.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
}

Test files for XML+RDFa 1.1:

Example 357: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0053.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0053</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
</body>
</root>
Example 358: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0053.sparql
ASK WHERE {
<http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" .
}
Test 0054: multiple @property

Tests multiple @property separated by white spaces

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 359: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0054.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0054</title>
</head>
<body>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
</body>
</html>
Example 360: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0054.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0054.html> <http://purl.org/dc/elements/1.1/creator> "Fabien Gandon" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0054.html> <http://purl.org/dc/elements/1.1/publisher> "Fabien Gandon" .
}

Test files for HTML5+RDFa 1.1:

Example 361: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0054.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0054</title>
</head>
<body>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
</body>
</html>
Example 362: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0054.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0054.html> <http://purl.org/dc/elements/1.1/creator> "Fabien Gandon" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0054.html> <http://purl.org/dc/elements/1.1/publisher> "Fabien Gandon" .
}

Test files for XHTML1+RDFa 1.1:

Example 363: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0054.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0054</title>
</head>
<body>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
</body>
</html>
Example 364: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0054.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0054.xhtml> <http://purl.org/dc/elements/1.1/creator> "Fabien Gandon" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0054.xhtml> <http://purl.org/dc/elements/1.1/publisher> "Fabien Gandon" .
}

Test files for XHTML5+RDFa 1.1:

Example 365: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0054.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0054</title>
</head>
<body>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
</body>
</html>
Example 366: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0054.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0054.xhtml> <http://purl.org/dc/elements/1.1/creator> "Fabien Gandon" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0054.xhtml> <http://purl.org/dc/elements/1.1/publisher> "Fabien Gandon" .
}

Test files for XML+RDFa 1.1:

Example 367: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0054.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0054</title>
</head>
<body>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
</body>
</root>
Example 368: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0054.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0054.xml> <http://purl.org/dc/elements/1.1/creator> "Fabien Gandon" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0054.xml> <http://purl.org/dc/elements/1.1/publisher> "Fabien Gandon" .
}
Test 0055: multiple @rel

Tests multiple @rel separated by white spaces

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 369: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0055.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0055</title>
</head>
<body>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
</body>
</html>
Example 370: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0055.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0055.html> <http://purl.org/dc/elements/1.1/creator> <http://www-sop.inria.fr/acacia/fabien/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0055.html> <http://purl.org/dc/elements/1.1/publisher> <http://www-sop.inria.fr/acacia/fabien/> .
}

Test files for HTML5+RDFa 1.1:

Example 371: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0055.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0055</title>
</head>
<body>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
</body>
</html>
Example 372: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0055.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0055.html> <http://purl.org/dc/elements/1.1/creator> <http://www-sop.inria.fr/acacia/fabien/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0055.html> <http://purl.org/dc/elements/1.1/publisher> <http://www-sop.inria.fr/acacia/fabien/> .
}

Test files for XHTML1+RDFa 1.1:

Example 373: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0055.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0055</title>
</head>
<body>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
</body>
</html>
Example 374: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0055.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0055.xhtml> <http://purl.org/dc/elements/1.1/creator> <http://www-sop.inria.fr/acacia/fabien/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0055.xhtml> <http://purl.org/dc/elements/1.1/publisher> <http://www-sop.inria.fr/acacia/fabien/> .
}

Test files for XHTML5+RDFa 1.1:

Example 375: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0055.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0055</title>
</head>
<body>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
</body>
</html>
Example 376: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0055.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0055.xhtml> <http://purl.org/dc/elements/1.1/creator> <http://www-sop.inria.fr/acacia/fabien/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0055.xhtml> <http://purl.org/dc/elements/1.1/publisher> <http://www-sop.inria.fr/acacia/fabien/> .
}

Test files for XML+RDFa 1.1:

Example 377: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0055.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0055</title>
</head>
<body>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
</body>
</root>
Example 378: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0055.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0055.xml> <http://purl.org/dc/elements/1.1/creator> <http://www-sop.inria.fr/acacia/fabien/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0055.xml> <http://purl.org/dc/elements/1.1/publisher> <http://www-sop.inria.fr/acacia/fabien/> .
}
Test 0056: @typeof applies to @about on same element with hanging rel

Tests if @typeof applies to @about on same element with hanging @rel

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 379: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0056.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0056</title>
</head>
<body>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
</body>
</html>
Example 380: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0056.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
}

Test files for HTML5+RDFa 1.1:

Example 381: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0056.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0056</title>
</head>
<body>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
</body>
</html>
Example 382: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0056.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
}

Test files for XHTML1+RDFa 1.1:

Example 383: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0056.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0056</title>
</head>
<body>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
</body>
</html>
Example 384: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0056.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 385: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0056.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0056</title>
</head>
<body>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
</body>
</html>
Example 386: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0056.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
}

Test files for XML+RDFa 1.1:

Example 387: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0056.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0056</title>
</head>
<body>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
</body>
</root>
Example 388: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0056.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
}
Test 0057: hanging @rel creates multiple triples

Tests if hanging @rel creates multiple triples

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 389: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0057.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0057</title>
</head>
<body>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 390: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0057.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#ivan> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
<http://www.example.org/#ivan> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for HTML5+RDFa 1.1:

Example 391: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0057.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0057</title>
</head>
<body>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 392: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0057.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#ivan> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
<http://www.example.org/#ivan> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML1+RDFa 1.1:

Example 393: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0057.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0057</title>
</head>
<body>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 394: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0057.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#ivan> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
<http://www.example.org/#ivan> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML5+RDFa 1.1:

Example 395: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0057.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0057</title>
</head>
<body>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 396: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0057.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#ivan> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
<http://www.example.org/#ivan> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XML+RDFa 1.1:

Example 397: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0057.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0057</title>
</head>
<body>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
</body>
</root>
Example 398: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0057.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#mark> .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#ivan> .
<http://www.example.org/#mark> <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
<http://www.example.org/#ivan> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}
Test 0059: multiple hanging @rels with multiple children

Tests multiple hanging @rels with multiple children

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 399: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0059.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0059</title>
</head>
<body>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
</body>
</html>
Example 400: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0059.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0059.html> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0059.html> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0059.html> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#fabien> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0059.html> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#fabien> .
<http://www.example.org/#manu> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
<http://www.example.org/#fabien> <http://xmlns.com/foaf/0.1/name> "Fabien Gandon" .
}

Test files for HTML5+RDFa 1.1:

Example 401: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0059.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0059</title>
</head>
<body>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
</body>
</html>
Example 402: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0059.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0059.html> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0059.html> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0059.html> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#fabien> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0059.html> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#fabien> .
<http://www.example.org/#manu> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
<http://www.example.org/#fabien> <http://xmlns.com/foaf/0.1/name> "Fabien Gandon" .
}

Test files for XHTML1+RDFa 1.1:

Example 403: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0059.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0059</title>
</head>
<body>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
</body>
</html>
Example 404: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0059.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0059.xhtml> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0059.xhtml> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0059.xhtml> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#fabien> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0059.xhtml> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#fabien> .
<http://www.example.org/#manu> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
<http://www.example.org/#fabien> <http://xmlns.com/foaf/0.1/name> "Fabien Gandon" .
}

Test files for XHTML5+RDFa 1.1:

Example 405: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0059.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0059</title>
</head>
<body>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
</body>
</html>
Example 406: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0059.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0059.xhtml> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0059.xhtml> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0059.xhtml> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#fabien> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0059.xhtml> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#fabien> .
<http://www.example.org/#manu> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
<http://www.example.org/#fabien> <http://xmlns.com/foaf/0.1/name> "Fabien Gandon" .
}

Test files for XML+RDFa 1.1:

Example 407: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0059.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0059</title>
</head>
<body>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
</body>
</root>
Example 408: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0059.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0059.xml> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0059.xml> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#manu> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0059.xml> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/#fabien> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0059.xml> <http://purl.org/dc/elements/1.1/publisher> <http://www.example.org/#fabien> .
<http://www.example.org/#manu> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
<http://www.example.org/#fabien> <http://xmlns.com/foaf/0.1/name> "Fabien Gandon" .
}
Test 0060: UTF-8 conformance

Tests conformance with UTF-8 encoding

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 409: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0060.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0060</title>
</head>
<body>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
</body>
</html>
Example 410: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0060.sparql
ASK WHERE {
<http://www.example.org/#matsumoto-kimiko> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#matsumoto-kimiko> <http://xmlns.com/foaf/0.1/name> "松本 后子" .
}

Test files for HTML5+RDFa 1.1:

Example 411: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0060.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0060</title>
</head>
<body>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
</body>
</html>
Example 412: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0060.sparql
ASK WHERE {
<http://www.example.org/#matsumoto-kimiko> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#matsumoto-kimiko> <http://xmlns.com/foaf/0.1/name> "松本 后子" .
}

Test files for XHTML1+RDFa 1.1:

Example 413: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0060.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0060</title>
</head>
<body>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
</body>
</html>
Example 414: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0060.sparql
ASK WHERE {
<http://www.example.org/#matsumoto-kimiko> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#matsumoto-kimiko> <http://xmlns.com/foaf/0.1/name> "松本 后子" .
}

Test files for XHTML5+RDFa 1.1:

Example 415: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0060.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0060</title>
</head>
<body>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
</body>
</html>
Example 416: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0060.sparql
ASK WHERE {
<http://www.example.org/#matsumoto-kimiko> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#matsumoto-kimiko> <http://xmlns.com/foaf/0.1/name> "松本 后子" .
}

Test files for XML+RDFa 1.1:

Example 417: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0060.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0060</title>
</head>
<body>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
</body>
</root>
Example 418: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0060.sparql
ASK WHERE {
<http://www.example.org/#matsumoto-kimiko> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/#matsumoto-kimiko> <http://xmlns.com/foaf/0.1/name> "松本 后子" .
}
Test 0061: @rel in head using reserved, non-prefixed XHTML value

Tests @rel in head using reserved, non-prefixed XHTML value

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 419: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0061.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0061</title>
<link rel="next" href="http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0062.xhtml" />
</head>
<body>
<p>This is the first chapter in a series of chapters.</p>
</body>
</html>
Example 420: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0061.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0061.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0062.xhtml> .
}
Test 0062: @rev in head using reserved, non-prefixed XHTML value

Tests @rev in head using reserved, non-prefixed XHTML value

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 421: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0062.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0062</title>
<link rev="prev" href="http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0063.xhtml" />
</head>
<body>
<p>This is unit test #62. The next unit test is #63.</p>
</body>
</html>
Example 422: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0062.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0063.xhtml> <http://www.w3.org/1999/xhtml/vocab#prev> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0062.xhtml> .
}
Test 0063: @rel in head using reserved XHTML value and empty-prefix CURIE syntax

Tests @rel in head using reserved XHTML value and empty-prefix CURIE syntax

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 423: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0063.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0063</title>
<link rel=":next" href="http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0064.html" />
</head>
<body>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
</body>
</html>
Example 424: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0063.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0063.html> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0064.html> .
}

Test files for HTML5+RDFa 1.1:

Example 425: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0063.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0063</title>
<link rel=":next" href="http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0064.html" />
</head>
<body>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
</body>
</html>
Example 426: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0063.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0063.html> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0064.html> .
}

Test files for XHTML1+RDFa 1.1:

Example 427: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0063.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0063</title>
<link rel=":next" href="http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0064.xhtml" />
</head>
<body>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
</body>
</html>
Example 428: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0063.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0063.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0064.xhtml> .
}

Test files for XHTML5+RDFa 1.1:

Example 429: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0063.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0063</title>
<link rel=":next" href="http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0064.xhtml" />
</head>
<body>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
</body>
</html>
Example 430: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0063.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0063.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0064.xhtml> .
}

Test files for XML+RDFa 1.1:

Example 431: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0063.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0063</title>
<link rel=":next" href="http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0064.xml" />
</head>
<body>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
</body>
</root>
Example 432: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0063.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0063.xml> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0064.xml> .
}
Test 0064: @about with safe CURIE

Tests if @about generates a proper triple when a safe CURIE is used

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 433: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0064.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0064</title>
</head>
<body>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
</body>
</html>
Example 434: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0064.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://digitalbazaar.com/people/manu> .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 435: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0064.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0064</title>
</head>
<body>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
</body>
</html>
Example 436: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0064.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://digitalbazaar.com/people/manu> .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 437: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0064.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0064</title>
</head>
<body>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
</body>
</html>
Example 438: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0064.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://digitalbazaar.com/people/manu> .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 439: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0064.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0064</title>
</head>
<body>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
</body>
</html>
Example 440: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0064.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://digitalbazaar.com/people/manu> .
FILTER isBlank(?a)
}

Test files for XML+RDFa 1.1:

Example 441: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0064.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0064</title>
</head>
<body>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
</body>
</root>
Example 442: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0064.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://digitalbazaar.com/people/manu> .
FILTER isBlank(?a)
}
Test 0065: @rel with safe CURIE

Tests if @rel properly connects triples generated when safe CURIEs are used

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 443: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0065.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0065</title>
</head>
<body>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
</body>


</html>
Example 444: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0065.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:michael.hausenblas@joanneum.at> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for HTML5+RDFa 1.1:

Example 445: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0065.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0065</title>
</head>
<body>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
</body>


</html>
Example 446: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0065.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:michael.hausenblas@joanneum.at> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML1+RDFa 1.1:

Example 447: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0065.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0065</title>
</head>
<body>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
</body>


</html>
Example 448: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0065.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:michael.hausenblas@joanneum.at> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML5+RDFa 1.1:

Example 449: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0065.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0065</title>
</head>
<body>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
</body>


</html>
Example 450: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0065.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:michael.hausenblas@joanneum.at> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XML+RDFa 1.1:

Example 451: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0065.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0065</title>
</head>
<body>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
</body>


</root>
Example 452: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0065.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:michael.hausenblas@joanneum.at> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
FILTER ( isBlank(?a) && isBlank(?b) )
}
Test 0066: @about with @typeof in the head

Test to make sure that @about (with current document) is implied in the head, and the proper triples are generated using @typeof

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 453: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0066.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head typeof="foaf:Document">
<title>Test 0066</title>
</head>
<body>
<p>This is test #66.</p>
</body>
</html>
Example 454: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0066.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0066.html> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
}

Test files for HTML5+RDFa 1.1:

Example 455: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0066.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head typeof="foaf:Document">
<title>Test 0066</title>
</head>
<body>
<p>This is test #66.</p>
</body>
</html>
Example 456: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0066.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0066.html> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
}

Test files for XHTML1+RDFa 1.1:

Example 457: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0066.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head typeof="foaf:Document">
<title>Test 0066</title>
</head>
<body>
<p>This is test #66.</p>
</body>
</html>
Example 458: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0066.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0066.xhtml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
}

Test files for XHTML5+RDFa 1.1:

Example 459: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0066.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head typeof="foaf:Document">
<title>Test 0066</title>
</head>
<body>
<p>This is test #66.</p>
</body>
</html>
Example 460: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0066.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0066.xhtml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
}
Test 0067: @property in the head

Test to make sure that @property in head uses the implied current document as the subject if no other subject is specified

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 461: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0067.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title property="foaf:topic">Test 0067</title>
</head>
<body>
<p>This is test #67.</p>
</body>
</html>
Example 462: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0067.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0067.html> <http://xmlns.com/foaf/0.1/topic> "Test 0067" .
}

Test files for HTML5+RDFa 1.1:

Example 463: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0067.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title property="foaf:topic">Test 0067</title>
</head>
<body>
<p>This is test #67.</p>
</body>
</html>
Example 464: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0067.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0067.html> <http://xmlns.com/foaf/0.1/topic> "Test 0067" .
}

Test files for XHTML1+RDFa 1.1:

Example 465: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0067.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title property="foaf:topic">Test 0067</title>
</head>
<body>
<p>This is test #67.</p>
</body>
</html>
Example 466: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0067.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0067.xhtml> <http://xmlns.com/foaf/0.1/topic> "Test 0067" .
}

Test files for XHTML5+RDFa 1.1:

Example 467: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0067.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title property="foaf:topic">Test 0067</title>
</head>
<body>
<p>This is test #67.</p>
</body>
</html>
Example 468: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0067.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0067.xhtml> <http://xmlns.com/foaf/0.1/topic> "Test 0067" .
}

Test files for XML+RDFa 1.1:

Example 469: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0067.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title property="foaf:topic">Test 0067</title>
</head>
<body>
<p>This is test #67.</p>
</body>
</root>
Example 470: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0067.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0067.xml> <http://xmlns.com/foaf/0.1/topic> "Test 0067" .
}
Test 0068: Relative URI in @about

Tests to ensure that relative URI is resolved correctly when used in @about

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 471: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0068.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0068</title>
</head>
<body>
<p about="0067.html">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
</body>
</html>
Example 472: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0068.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0067.html> <http://purl.org/dc/elements/1.1/title> "Test 0067" .
}

Test files for HTML5+RDFa 1.1:

Example 473: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0068.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0068</title>
</head>
<body>
<p about="0067.html">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
</body>
</html>
Example 474: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0068.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0067.html> <http://purl.org/dc/elements/1.1/title> "Test 0067" .
}

Test files for XHTML1+RDFa 1.1:

Example 475: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0068.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0068</title>
</head>
<body>
<p about="0067.xhtml">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
</body>
</html>
Example 476: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0068.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0067.xhtml> <http://purl.org/dc/elements/1.1/title> "Test 0067" .
}

Test files for XHTML5+RDFa 1.1:

Example 477: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0068.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0068</title>
</head>
<body>
<p about="0067.xhtml">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
</body>
</html>
Example 478: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0068.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0067.xhtml> <http://purl.org/dc/elements/1.1/title> "Test 0067" .
}

Test files for XML+RDFa 1.1:

Example 479: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0068.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0068</title>
</head>
<body>
<p about="0067.xml">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
</body>
</root>
Example 480: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0068.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0067.xml> <http://purl.org/dc/elements/1.1/title> "Test 0067" .
}
Test 0069: Relative URI in @href

Tests to ensure that relative URI is resolved correctly when used in @href

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 481: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0069.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0069</title>
</head>
<body>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.html">Test 0070</a>.
</p>
</body>
</html>
Example 482: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0069.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0069.html> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0070.html> .
}

Test files for HTML5+RDFa 1.1:

Example 483: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0069.html
<!DOCTYPE html>
<html xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0069</title>
</head>
<body>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.html">Test 0070</a>.
</p>
</body>
</html>
Example 484: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0069.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0069.html> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0070.html> .
}

Test files for XHTML1+RDFa 1.1:

Example 485: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0069.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0069</title>
</head>
<body>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.xhtml">Test 0070</a>.
</p>
</body>
</html>
Example 486: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0069.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0069.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0070.xhtml> .
}

Test files for XHTML5+RDFa 1.1:

Example 487: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0069.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0069</title>
</head>
<body>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.xhtml">Test 0070</a>.
</p>
</body>
</html>
Example 488: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0069.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0069.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0070.xhtml> .
}
Test 0070: Relative URI in @resource

Tests to ensure that relative URI is resolved correctly when used in @resource

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 489: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0070.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0070</title>
</head>
<body>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.html">Test 0069</span>.
</p>
</body>
</html>
Example 490: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0070.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0070.html> <http://www.w3.org/1999/xhtml/vocab#prev> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0069.html> .
}

Test files for HTML5+RDFa 1.1:

Example 491: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0070.html
<!DOCTYPE html>
<html xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0070</title>
</head>
<body>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.html">Test 0069</span>.
</p>
</body>
</html>
Example 492: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0070.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0070.html> <http://www.w3.org/1999/xhtml/vocab#prev> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0069.html> .
}

Test files for XHTML1+RDFa 1.1:

Example 493: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0070.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0070</title>
</head>
<body>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.xhtml">Test 0069</span>.
</p>
</body>
</html>
Example 494: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0070.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0070.xhtml> <http://www.w3.org/1999/xhtml/vocab#prev> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0069.xhtml> .
}

Test files for XHTML5+RDFa 1.1:

Example 495: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0070.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0070</title>
</head>
<body>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.xhtml">Test 0069</span>.
</p>
</body>
</html>
Example 496: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0070.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0070.xhtml> <http://www.w3.org/1999/xhtml/vocab#prev> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0069.xhtml> .
}
Test 0071: No explicit @about

Tests to ensure that a triple is generated even if @typeof and @about is not specified anywhere in the document

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 497: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0071.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0071</title>
</head>
<body>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>
Example 498: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0071.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0071.html> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nd/3.0/> .
}

Test files for HTML5+RDFa 1.1:

Example 499: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0071.html
<!DOCTYPE html>
<html xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0071</title>
</head>
<body>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>
Example 500: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0071.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0071.html> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nd/3.0/> .
}

Test files for XHTML1+RDFa 1.1:

Example 501: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0071.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0071</title>
</head>
<body>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>
Example 502: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0071.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0071.xhtml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nd/3.0/> .
}

Test files for XHTML5+RDFa 1.1:

Example 503: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0071.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0071</title>
</head>
<body>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>
Example 504: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0071.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0071.xhtml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nd/3.0/> .
}

Test files for XML+RDFa 1.1:

Example 505: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0071.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:cc="http://creativecommons.org/ns#">
<head>
<title>Test 0071</title>
</head>
<body>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</root>
Example 506: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0071.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0071.xml> <http://creativecommons.org/ns#license> <http://creativecommons.org/licenses/by-nd/3.0/> .
}
Test 0072: Relative URI in @about (with XHTML base in head)

Tests to ensure that relative URIs are resolved correctly when used in @about with XHTML base set in head

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 507: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0072.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0072</title>
</head>
<body>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
</body>
</html>
Example 508: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0072.sparql
ASK WHERE {
<http://www.example.org/faq> <http://purl.org/dc/elements/1.1/title> "Example FAQ" .
}

Test files for HTML5+RDFa 1.1:

Example 509: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0072.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0072</title>
</head>
<body>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
</body>
</html>
Example 510: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0072.sparql
ASK WHERE {
<http://www.example.org/faq> <http://purl.org/dc/elements/1.1/title> "Example FAQ" .
}

Test files for XHTML1+RDFa 1.1:

Example 511: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0072.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0072</title>
</head>
<body>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
</body>
</html>
Example 512: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0072.sparql
ASK WHERE {
<http://www.example.org/faq> <http://purl.org/dc/elements/1.1/title> "Example FAQ" .
}

Test files for XHTML5+RDFa 1.1:

Example 513: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0072.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0072</title>
</head>
<body>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
</body>
</html>
Example 514: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0072.sparql
ASK WHERE {
<http://www.example.org/faq> <http://purl.org/dc/elements/1.1/title> "Example FAQ" .
}
Test 0073: Relative URI in @resource (with XHTML base in head)

Tests to ensure that relative URIs are resolved correctly when used in @resource with XHTML base set in head

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 515: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0073.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0073</title>
</head>
<body>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
</body>
</html>
Example 516: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0073.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/jane> .
}

Test files for HTML5+RDFa 1.1:

Example 517: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0073.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0073</title>
</head>
<body>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
</body>
</html>
Example 518: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0073.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/jane> .
}

Test files for XHTML1+RDFa 1.1:

Example 519: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0073.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0073</title>
</head>
<body>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
</body>
</html>
Example 520: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0073.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/jane> .
}

Test files for XHTML5+RDFa 1.1:

Example 521: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0073.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0073</title>
</head>
<body>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
</body>
</html>
Example 522: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0073.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/jane> .
}
Test 0074: Relative URI in @href (with XHTML base in head)

Tests to ensure that relative URIs are resolved correctly when used in @href with XHTML base set in head

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 523: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0074.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0074</title>
</head>
<body>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
</body>
</html>
Example 524: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0074.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/jane> .
}

Test files for HTML5+RDFa 1.1:

Example 525: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0074.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0074</title>
</head>
<body>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
</body>
</html>
Example 526: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0074.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/jane> .
}

Test files for XHTML1+RDFa 1.1:

Example 527: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0074.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0074</title>
</head>
<body>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
</body>
</html>
Example 528: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0074.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/jane> .
}

Test files for XHTML5+RDFa 1.1:

Example 529: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0074.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0074</title>
</head>
<body>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
</body>
</html>
Example 530: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0074.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/creator> <http://www.example.org/jane> .
}
Test 0075: Reserved word 'license' in @rel with no explicit @about

Tests to ensure that the XHTML+RDFa reserved word 'license' when used in @rel (with no @about) generates the proper triple

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 531: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0075.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0075</title>
</head>
<body>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>
Example 532: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0075.sparql
ASK WHERE {
<http://www.example.org/> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nd/3.0/> .
}

Test files for HTML5+RDFa 1.1:

Example 533: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0075.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0075</title>
</head>
<body>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>
Example 534: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0075.sparql
ASK WHERE {
<http://www.example.org/> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nd/3.0/> .
}

Test files for XHTML1+RDFa 1.1:

Example 535: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0075.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0075</title>
</head>
<body>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>
Example 536: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0075.sparql
ASK WHERE {
<http://www.example.org/> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nd/3.0/> .
}

Test files for XHTML5+RDFa 1.1:

Example 537: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0075.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"></base>
<title>Test 0075</title>
</head>
<body>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>
Example 538: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0075.sparql
ASK WHERE {
<http://www.example.org/> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nd/3.0/> .
}
Test 0076: All reserved XHTML @rel values

Tests to ensure that all reserved XHTML words are supported in @rel

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 539: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0076</title>
</head>
<body>
<p>
<a rel="alternate" href="http://example.org/alternate">alternate</a>
<a rel="appendix" href="http://example.org/appendix">appendix</a>
<a rel="bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel="cite" href="http://example.org/cite">cite</a>
<a rel="chapter" href="http://example.org/chapter">chapter</a>
<a rel="contents" href="http://example.org/contents">contents</a>
<a rel="copyright" href="http://example.org/copyright">copyright</a>
<a rel="glossary" href="http://example.org/glossary">glossary</a>
<a rel="help" href="http://example.org/help">help</a>
<a rel="icon" href="http://example.org/icon">icon</a>
<a rel="index" href="http://example.org/index">index</a>
<a rel="last" href="http://example.org/last">last</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="meta" href="http://example.org/meta">meta</a>
<a rel="next" href="http://example.org/next">next</a>
<a rel="p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel="prev" href="http://example.org/prev">prev</a>
<a rel="role" href="http://example.org/role">role</a>
<a rel="section" href="http://example.org/section">section</a>
<a rel="subsection" href="http://example.org/subsection">subsection</a>
<a rel="start" href="http://example.org/start">start</a>
<a rel="stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel="up" href="http://example.org/up">up</a>
</p>
</body>
</html>
Example 540: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.sparql
ASK WHERE { <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#alternate>
<http://example.org/alternate> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#appendix>
<http://example.org/appendix> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#bookmark>
<http://example.org/bookmark> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#cite>
<http://example.org/cite> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#chapter>
<http://example.org/chapter> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#contents>
<http://example.org/contents> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#copyright>
<http://example.org/copyright> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#glossary>
<http://example.org/glossary> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#help>
<http://example.org/help> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#icon>
<http://example.org/icon> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#index>
<http://example.org/index> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#meta>
<http://example.org/meta> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#next>
<http://example.org/next> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#p3pv1>
<http://example.org/p3pv1> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#prev>
<http://example.org/prev> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#role>
<http://example.org/role> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#section>
<http://example.org/section> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#subsection>
<http://example.org/subsection> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#start>
<http://example.org/start> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://example.org/license> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#up>
<http://example.org/up> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#last>
<http://example.org/last> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0076.xhtml>
<http://www.w3.org/1999/xhtml/vocab#stylesheet>
<http://example.org/stylesheet> .
}
Test 0077: All reserved XHTML @rev values

Tests to ensure that all reserved XHTML words are supported in @rev

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 541: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0077</title>
</head>
<body>
<p>
<span about="http://example.org/alternate" rev="alternate"
href="0077.xhtml">alternate</span>
<span about="http://example.org/appendix" rev="appendix"
href="0077.xhtml">appendix</span>
<span about="http://example.org/bookmark" rev="bookmark"
href="0077.xhtml">bookmark</span>
<span about="http://example.org/cite" rev="cite"
href="0077.xhtml">cite</span>
<span about="http://example.org/chapter" rev="chapter"
href="0077.xhtml">chapter</span>
<span about="http://example.org/contents" rev="contents"
href="0077.xhtml">contents</span>
<span about="http://example.org/copyright" rev="copyright"
href="0077.xhtml">copyright</span>
<span about="http://example.org/glossary" rev="glossary"
href="0077.xhtml">glossary</span>
<span about="http://example.org/help" rev="help"
href="0077.xhtml">help</span>
<span about="http://example.org/icon" rev="icon"
href="0077.xhtml">icon</span>
<span about="http://example.org/index" rev="index"
href="0077.xhtml">index</span>
<span about="http://example.org/first" rev="first"
href="0077.xhtml">first</span>
<span about="http://example.org/last" rev="last"
href="0077.xhtml">last</span>
<span about="http://example.org/license" rev="license"
href="0077.xhtml">license</span>
<span about="http://example.org/meta" rev="meta"
href="0077.xhtml">meta</span>
<span about="http://example.org/next" rev="next"
href="0077.xhtml">next</span>
<span about="http://example.org/p3pv1" rev="p3pv1"
href="0077.xhtml">p3pv1</span>
<span about="http://example.org/prev" rev="prev"
href="0077.xhtml">prev</span>
<span about="http://example.org/role" rev="role"
href="0077.xhtml">role</span>
<span about="http://example.org/section" rev="section"
href="0077.xhtml">section</span>
<span about="http://example.org/subsection" rev="subsection"
href="0077.xhtml">subsection</span>
<span about="http://example.org/start" rev="start"
href="0077.xhtml">start</span>
<span about="http://example.org/stylesheet" rev="stylesheet"
href="0077.xhtml">stylesheet</span>
<span about="http://example.org/up" rev="up"
href="0077.xhtml">up</span>
</p>
</body>
</html>
Example 542: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.sparql
ASK WHERE { <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#alternate>
<http://example.org/alternate> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#appendix>
<http://example.org/appendix> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#bookmark>
<http://example.org/bookmark> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#cite>
<http://example.org/cite> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#chapter>
<http://example.org/chapter> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#contents>
<http://example.org/contents> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#copyright>
<http://example.org/copyright> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#glossary>
<http://example.org/glossary> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#help>
<http://example.org/help> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#icon>
<http://example.org/icon> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#index>
<http://example.org/index> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#meta>
<http://example.org/meta> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#next>
<http://example.org/next> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#p3pv1>
<http://example.org/p3pv1> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#prev>
<http://example.org/prev> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#role>
<http://example.org/role> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#section>
<http://example.org/section> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#subsection>
<http://example.org/subsection> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#start>
<http://example.org/start> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://example.org/license> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#up>
<http://example.org/up> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#first>
<http://example.org/first> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#last>
<http://example.org/last> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0077.xhtml>
<http://www.w3.org/1999/xhtml/vocab#stylesheet>
<http://example.org/stylesheet> .
}
Test 0079: @resource and @href in completing incomplete triples

Tests role of @resource and @href in completing incomplete triples (including their mutual priorities)

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 543: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0079.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0079</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</html>
Example 544: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0079.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
<http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}

Test files for HTML5+RDFa 1.1:

Example 545: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0079.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0079</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</html>
Example 546: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0079.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
<http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}

Test files for XHTML1+RDFa 1.1:

Example 547: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0079.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0079</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</html>
Example 548: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0079.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
<http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}

Test files for XHTML5+RDFa 1.1:

Example 549: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0079.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0079</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</html>
Example 550: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0079.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
<http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}

Test files for XML+RDFa 1.1:

Example 551: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0079.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0079</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</root>
Example 552: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0079.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
<http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}
Test 0080: @about overrides @resource in incomplete triples

Tests if @about has a higher priority than @resource in handling incomplete triples

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 553: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0080.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0080</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</html>
Example 554: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0080.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
}

Test files for HTML5+RDFa 1.1:

Example 555: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0080.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0080</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</html>
Example 556: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0080.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
}

Test files for XHTML1+RDFa 1.1:

Example 557: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0080.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0080</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</html>
Example 558: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0080.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
}

Test files for XHTML5+RDFa 1.1:

Example 559: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0080.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0080</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</html>
Example 560: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0080.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
}

Test files for XML+RDFa 1.1:

Example 561: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0080.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0080</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</body>
</root>
Example 562: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0080.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
}
Test 0083: multiple ways of handling incomplete triples (merged)

Tests multiple ways of handling incomplete triples; the first two triples should use the same bNode as subject ('merged'); the third case should use @about

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 563: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0083.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0083</title>
</head>
<body>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
</body>
</html>
Example 564: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0083.sparql
ASK WHERE {    
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 565: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0083.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0083</title>
</head>
<body>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
</body>
</html>
Example 566: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0083.sparql
ASK WHERE {    
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 567: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0083.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0083</title>
</head>
<body>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
</body>
</html>
Example 568: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0083.sparql
ASK WHERE {    
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 569: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0083.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0083</title>
</head>
<body>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
</body>
</html>
Example 570: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0083.sparql
ASK WHERE {    
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for XML+RDFa 1.1:

Example 571: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0083.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0083</title>
</head>
<body>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
</body>
</root>
Example 572: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0083.sparql
ASK WHERE {    
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}
Test 0084: multiple ways of handling incomplete triples, this time with both @rel and @rev

Tests multiple ways of handling incomplete triples, this time with both @rel and @rev. There is an intermediate div that should be ignored by the process

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 573: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0084.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0084</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
</body>
</html>
Example 574: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0084.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 575: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0084.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0084</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
</body>
</html>
Example 576: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0084.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 577: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0084.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0084</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
</body>
</html>
Example 578: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0084.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 579: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0084.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0084</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
</body>
</html>
Example 580: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0084.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for XML+RDFa 1.1:

Example 581: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0084.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0084</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
</body>
</root>
Example 582: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0084.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> <http://danbri.org/foaf.rdf#danbri> .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
<http://danbri.org/foaf.rdf#danbri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
<http://danbri.org/foaf.rdf#danbri> <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}
Test 0085: @resource and @href in completing incomplete triples

Tests the role of @resource and @href in completing incomplete triples (including their mutual priorities), but with an intermediate layer (ie, bNode) added

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 583: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0085.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0085</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
</body>
</html>
Example 584: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0085.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> _:a.
_:a <http://xmlns.com/foaf/0.1/knows> <http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}

Test files for HTML5+RDFa 1.1:

Example 585: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0085.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0085</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
</body>
</html>
Example 586: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0085.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> _:a.
_:a <http://xmlns.com/foaf/0.1/knows> <http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}

Test files for XHTML1+RDFa 1.1:

Example 587: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0085.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0085</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
</body>
</html>
Example 588: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0085.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> _:a.
_:a <http://xmlns.com/foaf/0.1/knows> <http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}

Test files for XHTML5+RDFa 1.1:

Example 589: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0085.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0085</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
</body>
</html>
Example 590: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0085.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> _:a.
_:a <http://xmlns.com/foaf/0.1/knows> <http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}

Test files for XML+RDFa 1.1:

Example 591: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0085.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0085</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
</body>
</root>
Example 592: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0085.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> _:a.
_:a <http://xmlns.com/foaf/0.1/knows> <http://www.ivan-herman.org/Ivan_Herman> ,
<http://www.w3.org/People/Berners-Lee/card#i> ,
<http://danbri.org/foaf.rdf#danbri> .
}
Test 0087: All reserved XHTML @rel values (with :xxx)

Tests to ensure that all reserved XHTML words are supported in @rel (with :xxx)

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 593: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0087</title>
</head>
<body>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
</body>
</html>
Example 594: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.sparql
ASK WHERE { <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#alternate>
<http://example.org/alternate> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#appendix>
<http://example.org/appendix> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#bookmark>
<http://example.org/bookmark> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#cite>
<http://example.org/cite> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#chapter>
<http://example.org/chapter> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#contents>
<http://example.org/contents> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#copyright>
<http://example.org/copyright> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#glossary>
<http://example.org/glossary> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#help>
<http://example.org/help> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#icon>
<http://example.org/icon> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#index>
<http://example.org/index> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#meta>
<http://example.org/meta> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#next>
<http://example.org/next> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#p3pv1>
<http://example.org/p3pv1> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#prev>
<http://example.org/prev> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#role>
<http://example.org/role> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#section>
<http://example.org/section> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#subsection>
<http://example.org/subsection> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#start>
<http://example.org/start> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://example.org/license> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#up>
<http://example.org/up> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#first>
<http://example.org/first> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#last>
<http://example.org/last> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0087.html>
<http://www.w3.org/1999/xhtml/vocab#stylesheet>
<http://example.org/stylesheet> .
}

Test files for HTML5+RDFa 1.1:

Example 595: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0087</title>
</head>
<body>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
</body>
</html>
Example 596: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.sparql
ASK WHERE { <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#alternate>
<http://example.org/alternate> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#appendix>
<http://example.org/appendix> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#bookmark>
<http://example.org/bookmark> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#cite>
<http://example.org/cite> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#chapter>
<http://example.org/chapter> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#contents>
<http://example.org/contents> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#copyright>
<http://example.org/copyright> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#glossary>
<http://example.org/glossary> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#help>
<http://example.org/help> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#icon>
<http://example.org/icon> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#index>
<http://example.org/index> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#meta>
<http://example.org/meta> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#next>
<http://example.org/next> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#p3pv1>
<http://example.org/p3pv1> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#prev>
<http://example.org/prev> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#role>
<http://example.org/role> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#section>
<http://example.org/section> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#subsection>
<http://example.org/subsection> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#start>
<http://example.org/start> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://example.org/license> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#up>
<http://example.org/up> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#first>
<http://example.org/first> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#last>
<http://example.org/last> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0087.html>
<http://www.w3.org/1999/xhtml/vocab#stylesheet>
<http://example.org/stylesheet> .
}

Test files for XHTML1+RDFa 1.1:

Example 597: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0087</title>
</head>
<body>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
</body>
</html>
Example 598: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.sparql
ASK WHERE { <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#alternate>
<http://example.org/alternate> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#appendix>
<http://example.org/appendix> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#bookmark>
<http://example.org/bookmark> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#cite>
<http://example.org/cite> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#chapter>
<http://example.org/chapter> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#contents>
<http://example.org/contents> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#copyright>
<http://example.org/copyright> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#glossary>
<http://example.org/glossary> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#help>
<http://example.org/help> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#icon>
<http://example.org/icon> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#index>
<http://example.org/index> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#meta>
<http://example.org/meta> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#next>
<http://example.org/next> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#p3pv1>
<http://example.org/p3pv1> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#prev>
<http://example.org/prev> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#role>
<http://example.org/role> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#section>
<http://example.org/section> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#subsection>
<http://example.org/subsection> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#start>
<http://example.org/start> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://example.org/license> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#up>
<http://example.org/up> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#first>
<http://example.org/first> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#last>
<http://example.org/last> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#stylesheet>
<http://example.org/stylesheet> .
}

Test files for XHTML5+RDFa 1.1:

Example 599: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0087</title>
</head>
<body>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
</body>
</html>
Example 600: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.sparql
ASK WHERE { <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#alternate>
<http://example.org/alternate> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#appendix>
<http://example.org/appendix> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#bookmark>
<http://example.org/bookmark> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#cite>
<http://example.org/cite> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#chapter>
<http://example.org/chapter> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#contents>
<http://example.org/contents> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#copyright>
<http://example.org/copyright> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#glossary>
<http://example.org/glossary> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#help>
<http://example.org/help> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#icon>
<http://example.org/icon> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#index>
<http://example.org/index> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#meta>
<http://example.org/meta> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#next>
<http://example.org/next> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#p3pv1>
<http://example.org/p3pv1> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#prev>
<http://example.org/prev> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#role>
<http://example.org/role> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#section>
<http://example.org/section> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#subsection>
<http://example.org/subsection> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#start>
<http://example.org/start> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://example.org/license> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#up>
<http://example.org/up> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#first>
<http://example.org/first> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#last>
<http://example.org/last> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0087.xhtml>
<http://www.w3.org/1999/xhtml/vocab#stylesheet>
<http://example.org/stylesheet> .
}

Test files for XML+RDFa 1.1:

Example 601: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0087</title>
</head>
<body>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
</body>
</root>
Example 602: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.sparql
ASK WHERE { <http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#alternate>
<http://example.org/alternate> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#appendix>
<http://example.org/appendix> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#bookmark>
<http://example.org/bookmark> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#cite>
<http://example.org/cite> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#chapter>
<http://example.org/chapter> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#contents>
<http://example.org/contents> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#copyright>
<http://example.org/copyright> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#glossary>
<http://example.org/glossary> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#help>
<http://example.org/help> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#icon>
<http://example.org/icon> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#index>
<http://example.org/index> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#meta>
<http://example.org/meta> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#next>
<http://example.org/next> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#p3pv1>
<http://example.org/p3pv1> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#prev>
<http://example.org/prev> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#role>
<http://example.org/role> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#section>
<http://example.org/section> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#subsection>
<http://example.org/subsection> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#start>
<http://example.org/start> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://example.org/license> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#up>
<http://example.org/up> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#first>
<http://example.org/first> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#last>
<http://example.org/last> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0087.xml>
<http://www.w3.org/1999/xhtml/vocab#stylesheet>
<http://example.org/stylesheet> .
}
Test 0088: Interpretation of the CURIE "_:"

Test the interpretation of the CURIE "_:"

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 603: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0088.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0088</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
</body>
</html>
Example 604: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0088.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 605: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0088.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0088</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
</body>
</html>
Example 606: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0088.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 607: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0088.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0088</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
</body>
</html>
Example 608: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0088.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 609: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0088.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0088</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
</body>
</html>
Example 610: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0088.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}

Test files for XML+RDFa 1.1:

Example 611: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0088.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0088</title>
</head>
<body>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
</body>
</root>
Example 612: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0088.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Dan Brickley" .
FILTER isBlank(?a)
}
Test 0089: @src sets a new subject (@typeof)

Tests to ensure that @src sets a new subject (focuses on @typeof).

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 613: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0089.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0089</title>
</head>
<body>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
</body>
</html>
Example 614: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0089.sparql
ASK WHERE {
<http://example.org/example.png> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Image> .
}

Test files for HTML5+RDFa 1.1:

Example 615: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0089.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0089</title>
</head>
<body>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
</body>
</html>
Example 616: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0089.sparql
ASK WHERE {
<http://example.org/example.png> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Image> .
}

Test files for XHTML1+RDFa 1.1:

Example 617: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0089.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0089</title>
</head>
<body>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
</body>
</html>
Example 618: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0089.sparql
ASK WHERE {
<http://example.org/example.png> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Image> .
}

Test files for XHTML5+RDFa 1.1:

Example 619: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0089.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0089</title>
</head>
<body>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
</body>
</html>
Example 620: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0089.sparql
ASK WHERE {
<http://example.org/example.png> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Image> .
}

Test files for XML+RDFa 1.1:

Example 621: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0089.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0089</title>
</head>
<body>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
</body>
</root>
Example 622: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0089.sparql
ASK WHERE {
<http://example.org/example.png> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Image> .
}
Test 0091: Non-reserved, un-prefixed CURIE in @property

Tests to ensure that non-reserved, un-prefixed CURIEs, when used in @property, generate triples.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 623: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0091.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0091</title>
</head>
<body>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
</body>
</html>
Example 624: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0091.sparql
ASK WHERE {
?a <http://www.w3.org/1999/xhtml/vocab#definition> "a bi-pedal primate" .
?a <http://www.w3.org/1999/xhtml/vocab#note> "confused animal" .
?a <http://www.w3.org/1999/xhtml/vocab#foo> "Milky Way" .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 625: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0091.html
<!DOCTYPE html>
<html>
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0091</title>
</head>
<body>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
</body>
</html>
Example 626: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0091.sparql
ASK WHERE {
?a <http://www.w3.org/1999/xhtml/vocab#definition> "a bi-pedal primate" .
?a <http://www.w3.org/1999/xhtml/vocab#note> "confused animal" .
?a <http://www.w3.org/1999/xhtml/vocab#foo> "Milky Way" .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 627: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0091.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0091</title>
</head>
<body>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
</body>
</html>
Example 628: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0091.sparql
ASK WHERE {
?a <http://www.w3.org/1999/xhtml/vocab#definition> "a bi-pedal primate" .
?a <http://www.w3.org/1999/xhtml/vocab#note> "confused animal" .
?a <http://www.w3.org/1999/xhtml/vocab#foo> "Milky Way" .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 629: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0091.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0091</title>
</head>
<body>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
</body>
</html>
Example 630: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0091.sparql
ASK WHERE {
?a <http://www.w3.org/1999/xhtml/vocab#definition> "a bi-pedal primate" .
?a <http://www.w3.org/1999/xhtml/vocab#note> "confused animal" .
?a <http://www.w3.org/1999/xhtml/vocab#foo> "Milky Way" .
FILTER isBlank(?a)
}

Test files for XML+RDFa 1.1:

Example 631: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0091.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0091</title>
</head>
<body>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
</body>
</root>
Example 632: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0091.sparql
ASK WHERE {
?a <http://www.w3.org/1999/xhtml/vocab#definition> "a bi-pedal primate" .
?a <http://www.w3.org/1999/xhtml/vocab#note> "confused animal" .
?a <http://www.w3.org/1999/xhtml/vocab#foo> "Milky Way" .
FILTER isBlank(?a)
}
Test 0093: Tests XMLLiteral content with explicit @datatype (user-data-typed literal)

Tests the explicit specification of an RDF XMLLiteral with @datatype using a non-RDF namespace, yielding a user-data-typed literal

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 633: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0093.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:ex="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0093</title>
</head>
<body>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>
</html>
Example 634: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0093.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0093.html> <http://purl.org/dc/elements/1.1/creator> "Albert Einstein" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0093.html> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time"^^<http://www.example.org/XMLLiteral> .
}

Test files for HTML5+RDFa 1.1:

Example 635: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0093.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:ex="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0093</title>
</head>
<body>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>
</html>
Example 636: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0093.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0093.html> <http://purl.org/dc/elements/1.1/creator> "Albert Einstein" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0093.html> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time"^^<http://www.example.org/XMLLiteral> .
}

Test files for XHTML1+RDFa 1.1:

Example 637: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0093.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:ex="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0093</title>
</head>
<body>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>
</html>
Example 638: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0093.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0093.xhtml> <http://purl.org/dc/elements/1.1/creator> "Albert Einstein" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0093.xhtml> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time"^^<http://www.example.org/XMLLiteral> .
}

Test files for XHTML5+RDFa 1.1:

Example 639: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0093.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:ex="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0093</title>
</head>
<body>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>
</html>
Example 640: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0093.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0093.xhtml> <http://purl.org/dc/elements/1.1/creator> "Albert Einstein" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0093.xhtml> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time"^^<http://www.example.org/XMLLiteral> .
}

Test files for XML+RDFa 1.1:

Example 641: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0093.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:ex="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0093</title>
</head>
<body>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>
</root>
Example 642: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0093.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0093.xml> <http://purl.org/dc/elements/1.1/creator> "Albert Einstein" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0093.xml> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time"^^<http://www.example.org/XMLLiteral> .
}
Test 0099: Preservation of white space in literals

Tests the preservation of white space in literals.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 643: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0099.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0099</title>
</head>
<body>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
</body>
</html>
Example 644: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0099.sparql
ASK WHERE {
<http://www.cwi.nl/~steven/> <http://www.example.org/likes> """
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching""" .
}

Test files for HTML5+RDFa 1.1:

Example 645: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0099.html
<!DOCTYPE html>
<html xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0099</title>
</head>
<body>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
</body>
</html>
Example 646: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0099.sparql
ASK WHERE {
<http://www.cwi.nl/~steven/> <http://www.example.org/likes> """
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching""" .
}

Test files for XHTML1+RDFa 1.1:

Example 647: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0099.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0099</title>
</head>
<body>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
</body>
</html>
Example 648: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0099.sparql
ASK WHERE {
<http://www.cwi.nl/~steven/> <http://www.example.org/likes> """
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching""" .
}

Test files for XHTML5+RDFa 1.1:

Example 649: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0099.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0099</title>
</head>
<body>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
</body>
</html>
Example 650: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0099.sparql
ASK WHERE {
<http://www.cwi.nl/~steven/> <http://www.example.org/likes> """
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching""" .
}

Test files for XML+RDFa 1.1:

Example 651: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0099.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0099</title>
</head>
<body>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
</body>
</root>
Example 652: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0099.sparql
ASK WHERE {
<http://www.cwi.nl/~steven/> <http://www.example.org/likes> """
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching""" .
}
Test 0104: rdf:value

Tests rdf:value with blank nodes to give a value with a unit

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 653: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0104.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0104</title>
</head>
<body>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
</body>
</html>
Example 654: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0104.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0104.html#interfenestration> <http://www.example.org/size> _:a .
_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "17" .
_:a <http://www.example.org/unit> "character" .
}

Test files for HTML5+RDFa 1.1:

Example 655: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0104.html
<!DOCTYPE html>
<html xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0104</title>
</head>
<body>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
</body>
</html>
Example 656: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0104.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0104.html#interfenestration> <http://www.example.org/size> _:a .
_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "17" .
_:a <http://www.example.org/unit> "character" .
}

Test files for XHTML1+RDFa 1.1:

Example 657: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0104.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0104</title>
</head>
<body>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
</body>
</html>
Example 658: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0104.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0104.xhtml#interfenestration> <http://www.example.org/size> _:a .
_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "17" .
_:a <http://www.example.org/unit> "character" .
}

Test files for XHTML5+RDFa 1.1:

Example 659: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0104.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0104</title>
</head>
<body>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
</body>
</html>
Example 660: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0104.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0104.xhtml#interfenestration> <http://www.example.org/size> _:a .
_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "17" .
_:a <http://www.example.org/unit> "character" .
}

Test files for XML+RDFa 1.1:

Example 661: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0104.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:example="http://www.example.org/">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>Test 0104</title>
</head>
<body>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
</body>
</root>
Example 662: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0104.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0104.xml#interfenestration> <http://www.example.org/size> _:a .
_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "17" .
_:a <http://www.example.org/unit> "character" .
}
Test 0106: chaining with empty value in inner @rel

Tests the behavior of triple generation in the case where the inner @rel is defined, but is blank, which halts chaining.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 663: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0106.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0106</title>
</head>
<body>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
</body>
</html>
Example 664: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0106.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0106.html> <http://purl.org/dc/elements/1.1/creator> ?a .
OPTIONAL {
?x ?y <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/manu.html> .
}
FILTER (isBlank(?a) && !BOUND(?x) && !BOUND(?y))
}

Test files for HTML5+RDFa 1.1:

Example 665: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0106.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0106</title>
</head>
<body>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
</body>
</html>
Example 666: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0106.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0106.html> <http://purl.org/dc/elements/1.1/creator> ?a .
OPTIONAL {
?x ?y <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/manu.html> .
}
FILTER (isBlank(?a) && !BOUND(?x) && !BOUND(?y))
}

Test files for XHTML1+RDFa 1.1:

Example 667: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0106.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0106</title>
</head>
<body>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
</body>
</html>
Example 668: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0106.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0106.xhtml> <http://purl.org/dc/elements/1.1/creator> ?a .
OPTIONAL {
?x ?y <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/manu.html> .
}
FILTER (isBlank(?a) && !BOUND(?x) && !BOUND(?y))
}

Test files for XHTML5+RDFa 1.1:

Example 669: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0106.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0106</title>
</head>
<body>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
</body>
</html>
Example 670: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0106.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0106.xhtml> <http://purl.org/dc/elements/1.1/creator> ?a .
OPTIONAL {
?x ?y <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/manu.html> .
}
FILTER (isBlank(?a) && !BOUND(?x) && !BOUND(?y))
}

Test files for XML+RDFa 1.1:

Example 671: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0106.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0106</title>
</head>
<body>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
</body>
</root>
Example 672: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0106.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0106.xml> <http://purl.org/dc/elements/1.1/creator> ?a .
OPTIONAL {
?x ?y <http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/manu.html> .
}
FILTER (isBlank(?a) && !BOUND(?x) && !BOUND(?y))
}
Test 0107: no garbage collecting bnodes

Checks to make sure that that while we shouldn't garbage collect bnodes no triples are generated.

Expected query to return false

Test files for HTML4+RDFa 1.1:

Example 673: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0107.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:ex="http://example.org/">
<head>
<title>Test 0107</title>
</head>
<body>
<div rel="next"></div>
</body>
</html>
Example 674: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0107.sparql
# This test should result in a 'NO', i.e. no triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0107.html> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
}

Test files for HTML5+RDFa 1.1:

Example 675: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0107.html
<!DOCTYPE html>
<html xmlns:ex="http://example.org/">
<head>
<title>Test 0107</title>
</head>
<body>
<div rel="next"></div>
</body>
</html>
Example 676: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0107.sparql
# This test should result in a 'NO', i.e. no triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0107.html> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
}

Test files for XHTML1+RDFa 1.1:

Example 677: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0107.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/">
<head>
<title>Test 0107</title>
</head>
<body>
<div rel="next"></div>
</body>
</html>
Example 678: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0107.sparql
# This test should result in a 'NO', i.e. no triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0107.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
}

Test files for XHTML5+RDFa 1.1:

Example 679: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0107.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ex="http://example.org/">
<head>
<title>Test 0107</title>
</head>
<body>
<div rel="next"></div>
</body>
</html>
Example 680: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0107.sparql
# This test should result in a 'NO', i.e. no triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0107.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
}

Test files for XML+RDFa 1.1:

Example 681: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0107.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ex="http://example.org/">
<head>
<title>Test 0107</title>
</head>
<body>
<div rel="next"></div>
</body>
</root>
Example 682: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0107.sparql
# This test should result in a 'NO', i.e. no triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0107.xml> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
}
Test 0108: plain literal with datatype="" and xml:lang preservation

Checks to make sure that the RDFa parser emits a plain literal when the datatype is specified as "" and preserves the xml:lang value. The text, with control characters and whitespace preserved, reads "Greek white space ".

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 683: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0108.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/">
<head>
<title>Test 0108</title>
</head>
<body>
<p about="http://example.org/node" property="ex:property"
datatype="" xml:lang="el">ελληνικό
άσπρο διάστημα
</p>
</body>
</html>
Example 684: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0108.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "ελληνικό\nάσπρο διάστημα\n"@el .
}

Test files for XML+RDFa 1.1:

Example 685: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0108.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ex="http://example.org/">
<head>
<title>Test 0108</title>
</head>
<body>
<p about="http://example.org/node" property="ex:property"
datatype="" xml:lang="el">ελληνικό
άσπρο διάστημα
</p>
</body>
</root>
Example 686: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0108.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "ελληνικό\nάσπρο διάστημα\n"@el .
}
Test 0109: Tests to ensure @xml:base is ignored

Tests to make sure that @xml:base is ignored in XHTML+RDFa 1.0. The input test document is invalid XHTML.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 687: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0109.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xml:base="http://example.org/invalid/">
<head>
<title>Test 0109</title>
</head>
<body>
<!-- This a NOT a valid XHTML document (due to @xml:base) -->
<div xml:base="http://example.org/invalid/">
<p about="">This is <span property="dc:title">Test 0109</span>.</p>
</div>
</body>
</html>
Example 688: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0109.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0109.html> <http://purl.org/dc/elements/1.1/title> "Test 0109" .
}

Test files for HTML5+RDFa 1.1:

Example 689: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0109.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xml:base="http://example.org/invalid/">
<head>
<title>Test 0109</title>
</head>
<body>
<!-- This a NOT a valid XHTML document (due to @xml:base) -->
<div xml:base="http://example.org/invalid/">
<p about="">This is <span property="dc:title">Test 0109</span>.</p>
</div>
</body>
</html>
Example 690: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0109.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0109.html> <http://purl.org/dc/elements/1.1/title> "Test 0109" .
}
Test 0110: bNode generated even though no nested @about exists

Tests to make sure that a bNode is generated even though no nested @about exists.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 691: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0110.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0110</title>
</head>
<body>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</body>
</html>
Example 692: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0110.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0110.html> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 693: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0110.html
<!DOCTYPE html>
<html xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0110</title>
</head>
<body>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</body>
</html>
Example 694: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0110.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0110.html> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 695: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0110.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0110</title>
</head>
<body>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</body>
</html>
Example 696: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0110.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0110.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 697: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0110.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0110</title>
</head>
<body>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</body>
</html>
Example 698: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0110.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0110.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
FILTER isBlank(?a)
}
Test 0111: two bNodes generated after three levels of nesting

Tests to make sure that two bNodes are generated after three levels of nesting and that the last div does not generate a triple.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 699: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0111.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0111</title>
</head>
<body>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
</body>
</html>
Example 700: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0111.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0111.html> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
?a <http://www.w3.org/1999/xhtml/vocab#next> ?b .
FILTER (isBlank(?a) && isBlank(?b) )
}

Test files for HTML5+RDFa 1.1:

Example 701: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0111.html
<!DOCTYPE html>
<html xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0111</title>
</head>
<body>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
</body>
</html>
Example 702: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0111.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0111.html> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
?a <http://www.w3.org/1999/xhtml/vocab#next> ?b .
FILTER (isBlank(?a) && isBlank(?b) )
}

Test files for XHTML1+RDFa 1.1:

Example 703: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0111.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0111</title>
</head>
<body>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
</body>
</html>
Example 704: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0111.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0111.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
?a <http://www.w3.org/1999/xhtml/vocab#next> ?b .
FILTER (isBlank(?a) && isBlank(?b) )
}

Test files for XHTML5+RDFa 1.1:

Example 705: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0111.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test 0111</title>
</head>
<body>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
</body>
</html>
Example 706: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0111.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0111.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> ?a .
?a <http://www.w3.org/1999/xhtml/vocab#next> ?b .
FILTER (isBlank(?a) && isBlank(?b) )
}
Test 0112: plain literal with datatype=""

Checks to make sure that the RDFa parser emits a plain literal when the datatype is specified as "".

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 707: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0112.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:ex="http://example.org/">
<head>
<title>Test 0112</title>
</head>
<body>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
</body>
</html>
Example 708: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0112.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "not an XML Literal,\nwhitespace preserved\n" .
}

Test files for HTML5+RDFa 1.1:

Example 709: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0112.html
<!DOCTYPE html>
<html xmlns:ex="http://example.org/">
<head>
<title>Test 0112</title>
</head>
<body>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
</body>
</html>
Example 710: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0112.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "not an XML Literal,\nwhitespace preserved\n" .
}

Test files for XHTML1+RDFa 1.1:

Example 711: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0112.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/">
<head>
<title>Test 0112</title>
</head>
<body>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
</body>
</html>
Example 712: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0112.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "not an XML Literal,\nwhitespace preserved\n" .
}

Test files for XHTML5+RDFa 1.1:

Example 713: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0112.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ex="http://example.org/">
<head>
<title>Test 0112</title>
</head>
<body>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
</body>
</html>
Example 714: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0112.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "not an XML Literal,\nwhitespace preserved\n" .
}

Test files for XML+RDFa 1.1:

Example 715: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0112.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ex="http://example.org/">
<head>
<title>Test 0112</title>
</head>
<body>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
</body>
</root>
Example 716: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0112.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "not an XML Literal,\nwhitespace preserved\n" .
}
Test 0113: element with @property and no child nodes generates empty plain literal

Checks to make sure that an element with @property and no child nodes generates empty plain literal.

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 717: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0113.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0113</title>
</head>
<body>
<span about="#a" property="dc:title"></span>
<span about="#b" property="dc:title" />
</body>
</html>
Example 718: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0113.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0113.xhtml#a> <http://purl.org/dc/elements/1.1/title> "" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0113.xhtml#b> <http://purl.org/dc/elements/1.1/title> "" .
}

Test files for XML+RDFa 1.1:

Example 719: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0113.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0113</title>
</head>
<body>
<span about="#a" property="dc:title"></span>
<span about="#b" property="dc:title" />
</body>
</root>
Example 720: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0113.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0113.xml#a> <http://purl.org/dc/elements/1.1/title> "" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0113.xml#b> <http://purl.org/dc/elements/1.1/title> "" .
}
Test 0114: Relative URI dot-segment removal

Checks to make sure that a relative URI is resolved correctly according to RFC3986, section 5 (even when the relative URI is invalid, in this case).

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 721: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0114.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:cc="http://creativecommons.org/ns#"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#">
<head>
<title>Test 0114</title>
</head>
<body>
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.html">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
</body>
</html>
Example 722: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0114.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
PREFIX cc: <http://creativecommons.org/ns#>
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0114.html>
xhv:index <http://rdfa.info/test-suite/#>;
xhv:next <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0115.html>;
xhv:up <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/>;
cc:attributionURL <http://rdfa.info/>;
rdfatest:cornerCase1 <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/>;
rdfatest:cornerCase3 <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/...>;
rdfatest:cornerCase4 <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0114.html?foo=bar../baz>;
rdfatest:cornerCase5 <http://rdfa.info/test-suite/test-cases/.../.htaccess>.
}

Test files for HTML5+RDFa 1.1:

Example 723: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0114.html
<!DOCTYPE html>
<html xmlns:cc="http://creativecommons.org/ns#"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#">
<head>
<title>Test 0114</title>
</head>
<body>
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.html">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
</body>
</html>
Example 724: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0114.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
PREFIX cc: <http://creativecommons.org/ns#>
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0114.html>
xhv:index <http://rdfa.info/test-suite/#>;
xhv:next <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0115.html>;
xhv:up <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/>;
cc:attributionURL <http://rdfa.info/>;
rdfatest:cornerCase1 <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/>;
rdfatest:cornerCase3 <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/...>;
rdfatest:cornerCase4 <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0114.html?foo=bar../baz>;
rdfatest:cornerCase5 <http://rdfa.info/test-suite/test-cases/.../.htaccess>.
}

Test files for XHTML1+RDFa 1.1:

Example 725: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0114.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:cc="http://creativecommons.org/ns#"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#">
<head>
<title>Test 0114</title>
</head>
<body>
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.xhtml">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
</body>
</html>
Example 726: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0114.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
PREFIX cc: <http://creativecommons.org/ns#>
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0114.xhtml>
xhv:index <http://rdfa.info/test-suite/#>;
xhv:next <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0115.xhtml>;
xhv:up <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/>;
cc:attributionURL <http://rdfa.info/>;
rdfatest:cornerCase1 <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/>;
rdfatest:cornerCase3 <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/...>;
rdfatest:cornerCase4 <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0114.xhtml?foo=bar../baz>;
rdfatest:cornerCase5 <http://rdfa.info/test-suite/test-cases/.../.htaccess>.
}

Test files for XHTML5+RDFa 1.1:

Example 727: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0114.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:cc="http://creativecommons.org/ns#"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#">
<head>
<title>Test 0114</title>
</head>
<body>
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.xhtml">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
</body>
</html>
Example 728: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0114.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
PREFIX cc: <http://creativecommons.org/ns#>
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0114.xhtml>
xhv:index <http://rdfa.info/test-suite/#>;
xhv:next <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0115.xhtml>;
xhv:up <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/>;
cc:attributionURL <http://rdfa.info/>;
rdfatest:cornerCase1 <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/>;
rdfatest:cornerCase3 <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/...>;
rdfatest:cornerCase4 <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0114.xhtml?foo=bar../baz>;
rdfatest:cornerCase5 <http://rdfa.info/test-suite/test-cases/.../.htaccess>.
}
Test 0115: XML Entities must be supported by RDFa parser

Checks to make sure that XML Entities are treated properly by the RDFa parser.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 729: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0115.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:ex="http://www.example.com/">
<head>
<title>Test 0115</title>
</head>
<body>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
</body>
</html>
Example 730: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0115.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0115.html>
<http://www.example.com/entity1>
">" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0115.html>
<http://www.example.com/entity2>
"Ben & Co." .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0115.html>
<http://www.example.com/entity3>
"@" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0115.html>
<http://www.example.com/entity4>
"@" .
}

Test files for HTML5+RDFa 1.1:

Example 731: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0115.html
<!DOCTYPE html>
<html xmlns:ex="http://www.example.com/">
<head>
<title>Test 0115</title>
</head>
<body>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
</body>
</html>
Example 732: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0115.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0115.html>
<http://www.example.com/entity1>
">" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0115.html>
<http://www.example.com/entity2>
"Ben & Co." .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0115.html>
<http://www.example.com/entity3>
"@" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0115.html>
<http://www.example.com/entity4>
"@" .
}

Test files for XHTML1+RDFa 1.1:

Example 733: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0115.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://www.example.com/">
<head>
<title>Test 0115</title>
</head>
<body>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
</body>
</html>
Example 734: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0115.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0115.xhtml>
<http://www.example.com/entity1>
">" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0115.xhtml>
<http://www.example.com/entity2>
"Ben & Co." .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0115.xhtml>
<http://www.example.com/entity3>
"@" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0115.xhtml>
<http://www.example.com/entity4>
"@" .
}

Test files for XHTML5+RDFa 1.1:

Example 735: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0115.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ex="http://www.example.com/">
<head>
<title>Test 0115</title>
</head>
<body>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
</body>
</html>
Example 736: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0115.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0115.xhtml>
<http://www.example.com/entity1>
">" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0115.xhtml>
<http://www.example.com/entity2>
"Ben & Co." .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0115.xhtml>
<http://www.example.com/entity3>
"@" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0115.xhtml>
<http://www.example.com/entity4>
"@" .
}

Test files for XML+RDFa 1.1:

Example 737: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0115.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ex="http://www.example.com/">
<head>
<title>Test 0115</title>
</head>
<body>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
</body>
</root>
Example 738: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0115.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0115.xml>
<http://www.example.com/entity1>
">" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0115.xml>
<http://www.example.com/entity2>
"Ben & Co." .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0115.xml>
<http://www.example.com/entity3>
"@" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0115.xml>
<http://www.example.com/entity4>
"@" .
}
Test 0117: Fragment identifiers stripped from BASE

Checks to make sure that fragment identifiers are stripped from [base] when used to generate triples.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 739: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0117.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/tc117.xhtml#fragment"></base>
<title property="dc:title">Test 0117</title>
</head>
<body>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
</body>
</html>
Example 740: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0117.sparql
ASK WHERE {
<http://www.example.org/tc117.xhtml> <http://purl.org/dc/elements/1.1/title> "Test 0117" .
<http://www.example.org/tc117.xhtml> <http://purl.org/dc/elements/1.1/contributor> "Mark Birbeck" .
}

Test files for HTML5+RDFa 1.1:

Example 741: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0117.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/tc117.xhtml#fragment"></base>
<title property="dc:title">Test 0117</title>
</head>
<body>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
</body>
</html>
Example 742: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0117.sparql
ASK WHERE {
<http://www.example.org/tc117.xhtml> <http://purl.org/dc/elements/1.1/title> "Test 0117" .
<http://www.example.org/tc117.xhtml> <http://purl.org/dc/elements/1.1/contributor> "Mark Birbeck" .
}

Test files for XHTML1+RDFa 1.1:

Example 743: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0117.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/tc117.xhtml#fragment"></base>
<title property="dc:title">Test 0117</title>
</head>
<body>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
</body>
</html>
Example 744: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0117.sparql
ASK WHERE {
<http://www.example.org/tc117.xhtml> <http://purl.org/dc/elements/1.1/title> "Test 0117" .
<http://www.example.org/tc117.xhtml> <http://purl.org/dc/elements/1.1/contributor> "Mark Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 745: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0117.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/tc117.xhtml#fragment"></base>
<title property="dc:title">Test 0117</title>
</head>
<body>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
</body>
</html>
Example 746: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0117.sparql
ASK WHERE {
<http://www.example.org/tc117.xhtml> <http://purl.org/dc/elements/1.1/title> "Test 0117" .
<http://www.example.org/tc117.xhtml> <http://purl.org/dc/elements/1.1/contributor> "Mark Birbeck" .
}
Test 0118: empty string "" is not equivalent to NULL - @about

Checks to make sure that the empty string "" isn't considered as NULL in languages such as Javascript when generating triples. This test sets the subject in a chain using @href and then immediately changes the subject using @about and generates a triple. A buggy parser may use the @href subject (http://example.org/javascript.html) instead of the one defined by @about.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 747: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0118.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0118</title>
</head>
<body>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
</body>

</html>
Example 748: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0118.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0118.html>
<http://purl.org/dc/elements/1.1/creator>
"Ben" .
}

Test files for HTML5+RDFa 1.1:

Example 749: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0118.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0118</title>
</head>
<body>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
</body>

</html>
Example 750: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0118.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0118.html>
<http://purl.org/dc/elements/1.1/creator>
"Ben" .
}

Test files for XHTML1+RDFa 1.1:

Example 751: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0118.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0118</title>
</head>
<body>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
</body>

</html>
Example 752: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0118.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0118.xhtml>
<http://purl.org/dc/elements/1.1/creator>
"Ben" .
}

Test files for XHTML5+RDFa 1.1:

Example 753: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0118.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0118</title>
</head>
<body>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
</body>

</html>
Example 754: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0118.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0118.xhtml>
<http://purl.org/dc/elements/1.1/creator>
"Ben" .
}

Test files for XML+RDFa 1.1:

Example 755: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0118.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0118</title>
</head>
<body>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
</body>

</root>
Example 756: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0118.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0118.xml>
<http://purl.org/dc/elements/1.1/creator>
"Ben" .
}
Test 0119: "[prefix:]" CURIE format is valid

Checks to make sure that an RDFa processor expands CURIEs having only a prefix and a colon if a prefix is properly defined using xmlns.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 757: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0119.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0119</title>
</head>
<body>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
</body>

</html>
Example 758: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0119.sparql
ASK WHERE {
<http://example.org/>
<http://purl.org/dc/elements/1.1/title>
"Example Website" .
}

Test files for HTML5+RDFa 1.1:

Example 759: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0119.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0119</title>
</head>
<body>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
</body>

</html>
Example 760: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0119.sparql
ASK WHERE {
<http://example.org/>
<http://purl.org/dc/elements/1.1/title>
"Example Website" .
}

Test files for XHTML1+RDFa 1.1:

Example 761: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0119.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0119</title>
</head>
<body>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
</body>

</html>
Example 762: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0119.sparql
ASK WHERE {
<http://example.org/>
<http://purl.org/dc/elements/1.1/title>
"Example Website" .
}

Test files for XHTML5+RDFa 1.1:

Example 763: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0119.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0119</title>
</head>
<body>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
</body>

</html>
Example 764: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0119.sparql
ASK WHERE {
<http://example.org/>
<http://purl.org/dc/elements/1.1/title>
"Example Website" .
}

Test files for XML+RDFa 1.1:

Example 765: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0119.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0119</title>
</head>
<body>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
</body>

</root>
Example 766: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0119.sparql
ASK WHERE {
<http://example.org/>
<http://purl.org/dc/elements/1.1/title>
"Example Website" .
}
Test 0120: "[:]" CURIE format is valid

Checks to make sure that an RDFa processor expands CURIEs having only a colon to the default prefix "http://www.w3.org/1999/test-cases/vocab#".

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 767: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0120.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0120</title>
</head>
<body>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
</body>
</html>
Example 768: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0120.sparql
ASK WHERE {
<http://www.w3.org/1999/xhtml/vocab#>
<http://purl.org/dc/elements/1.1/title>
"The XHTML Vocabulary Document" .
}

Test files for HTML5+RDFa 1.1:

Example 769: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0120.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0120</title>
</head>
<body>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
</body>
</html>
Example 770: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0120.sparql
ASK WHERE {
<http://www.w3.org/1999/xhtml/vocab#>
<http://purl.org/dc/elements/1.1/title>
"The XHTML Vocabulary Document" .
}

Test files for XHTML1+RDFa 1.1:

Example 771: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0120.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0120</title>
</head>
<body>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
</body>
</html>
Example 772: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0120.sparql
ASK WHERE {
<http://www.w3.org/1999/xhtml/vocab#>
<http://purl.org/dc/elements/1.1/title>
"The XHTML Vocabulary Document" .
}

Test files for XHTML5+RDFa 1.1:

Example 773: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0120.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0120</title>
</head>
<body>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
</body>
</html>
Example 774: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0120.sparql
ASK WHERE {
<http://www.w3.org/1999/xhtml/vocab#>
<http://purl.org/dc/elements/1.1/title>
"The XHTML Vocabulary Document" .
}

Test files for XML+RDFa 1.1:

Example 775: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0120.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:example="http://example.org/">
<head>
<title>Test 0120</title>
</head>
<body>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
</body>
</root>
Example 776: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0120.sparql
ASK WHERE {
<http://www.w3.org/1999/xhtml/vocab#>
<http://purl.org/dc/elements/1.1/title>
"The XHTML Vocabulary Document" .
}
Test 0121: "[]" is a valid safe CURIE

Checks to make sure RDFa processors resolve the empty CURIE correctly. Note that this is not valid HTML due to recursive

elements.

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 777: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0121.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0121</title>
</head>
<body>
<div>
<p about="http://example.org/">
<span about="[]" property="dc:title">Test Case 0121</span>
checks to make sure RDFa processors resolve the empty CURIE correctly.
<p resource="[]">
<span property="dc:contributor">Shane McCarron</span>
contributed to this test.
</p>
</p>
</div>
</body>




</html>
Example 778: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0121.sparql
ASK WHERE {
<http://example.org/> <http://purl.org/dc/elements/1.1/title> "Test Case 0121" .
<http://example.org/> <http://purl.org/dc/elements/1.1/contributor> "Shane McCarron" .
}

Test files for XHTML5+RDFa 1.1:

Example 779: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0121.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0121</title>
</head>
<body>
<div>
<p about="http://example.org/">
<span about="[]" property="dc:title">Test Case 0121</span>
checks to make sure RDFa processors resolve the empty CURIE correctly.
<p resource="[]">
<span property="dc:contributor">Shane McCarron</span>
contributed to this test.
</p>
</p>
</div>
</body>




</html>
Example 780: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0121.sparql
ASK WHERE {
<http://example.org/> <http://purl.org/dc/elements/1.1/title> "Test Case 0121" .
<http://example.org/> <http://purl.org/dc/elements/1.1/contributor> "Shane McCarron" .
}

Test files for XML+RDFa 1.1:

Example 781: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0121.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0121</title>
</head>
<body>
<div>
<p about="http://example.org/">
<span about="[]" property="dc:title">Test Case 0121</span>
checks to make sure RDFa processors resolve the empty CURIE correctly.
<p resource="[]">
<span property="dc:contributor">Shane McCarron</span>
contributed to this test.
</p>
</p>
</div>
</body>




</root>
Example 782: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0121.sparql
ASK WHERE {
<http://example.org/> <http://purl.org/dc/elements/1.1/title> "Test Case 0121" .
<http://example.org/> <http://purl.org/dc/elements/1.1/contributor> "Shane McCarron" .
}
Test 0122: resource="[]" does not set the object

Checks to make sure that resource="[]" does not set the object since RDFa does not allow non-prefixed CURIEs.

Expected query to return false

Test files for HTML4+RDFa 1.1:

Example 783: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0122.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0122</title>
</head>
<body>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
</body>




</html>
Example 784: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0122.sparql
# This is a negative test. No triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://www.example.org/section1.html> <http://www.w3.org/1999/xhtml/vocab#up> ?obj .
}

Test files for HTML5+RDFa 1.1:

Example 785: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0122.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0122</title>
</head>
<body>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
</body>




</html>
Example 786: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0122.sparql
# This is a negative test. No triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://www.example.org/section1.html> <http://www.w3.org/1999/xhtml/vocab#up> ?obj .
}

Test files for XHTML1+RDFa 1.1:

Example 787: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0122.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0122</title>
</head>
<body>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
</body>




</html>
Example 788: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0122.sparql
# This is a negative test. No triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://www.example.org/section1.html> <http://www.w3.org/1999/xhtml/vocab#up> ?obj .
}

Test files for XHTML5+RDFa 1.1:

Example 789: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0122.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0122</title>
</head>
<body>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
</body>




</html>
Example 790: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0122.sparql
# This is a negative test. No triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://www.example.org/section1.html> <http://www.w3.org/1999/xhtml/vocab#up> ?obj .
}

Test files for XML+RDFa 1.1:

Example 791: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0122.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0122</title>
</head>
<body>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
</body>




</root>
Example 792: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0122.sparql
# This is a negative test. No triples should be generated from the XHTML+RDFa input document.
ASK WHERE {
<http://www.example.org/section1.html> <http://www.w3.org/1999/xhtml/vocab#up> ?obj .
}
Test 0126: Multiple @typeof values

Checks to ensure that multiple (white space separated) values in @typeof trigger multiple rdf:type triples.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 793: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0126.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dct="http://purl.org/dc/terms/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0126</title>
</head>
<body>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
</body>
</html>
Example 794: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0126.sparql
ASK WHERE {
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/sioc/ns#Post> .
<http://www.example.org/#article> <http://purl.org/dc/terms/title> "My article" .
}

Test files for HTML5+RDFa 1.1:

Example 795: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0126.html
<!DOCTYPE html>
<html xmlns:dct="http://purl.org/dc/terms/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0126</title>
</head>
<body>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
</body>
</html>
Example 796: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0126.sparql
ASK WHERE {
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/sioc/ns#Post> .
<http://www.example.org/#article> <http://purl.org/dc/terms/title> "My article" .
}

Test files for XHTML1+RDFa 1.1:

Example 797: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0126.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dct="http://purl.org/dc/terms/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0126</title>
</head>
<body>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
</body>
</html>
Example 798: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0126.sparql
ASK WHERE {
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/sioc/ns#Post> .
<http://www.example.org/#article> <http://purl.org/dc/terms/title> "My article" .
}

Test files for XHTML5+RDFa 1.1:

Example 799: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0126.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dct="http://purl.org/dc/terms/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0126</title>
</head>
<body>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
</body>
</html>
Example 800: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0126.sparql
ASK WHERE {
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/sioc/ns#Post> .
<http://www.example.org/#article> <http://purl.org/dc/terms/title> "My article" .
}

Test files for XML+RDFa 1.1:

Example 801: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0126.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dct="http://purl.org/dc/terms/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0126</title>
</head>
<body>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
</body>
</root>
Example 802: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0126.sparql
ASK WHERE {
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/sioc/ns#Post> .
<http://www.example.org/#article> <http://purl.org/dc/terms/title> "My article" .
}
Test 0131: Whitespace alternatives in attributes

Ensures that multiple whitespace alternatives in attributes are allowed.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 803: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0131.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test</title>
<link rel="xhv:next&#x20;xhv:prev&#x09;xhv:first&#x0a;xhv:last&#x0d;xhv:subsection" href="http://example.org/test.css" />
</head>
<body>
</body>
</html>
Example 804: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0131.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0131.html> <http://www.w3.org/1999/xhtml/vocab#next> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0131.html> <http://www.w3.org/1999/xhtml/vocab#prev> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0131.html> <http://www.w3.org/1999/xhtml/vocab#first> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0131.html> <http://www.w3.org/1999/xhtml/vocab#last> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0131.html> <http://www.w3.org/1999/xhtml/vocab#subsection> <http://example.org/test.css> .
}

Test files for HTML5+RDFa 1.1:

Example 805: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0131.html
<!DOCTYPE html>
<html xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test</title>
<link rel="xhv:next&#x20;xhv:prev&#x09;xhv:first&#x0a;xhv:last&#x0d;xhv:subsection" href="http://example.org/test.css" />
</head>
<body>
</body>
</html>
Example 806: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0131.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0131.html> <http://www.w3.org/1999/xhtml/vocab#next> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0131.html> <http://www.w3.org/1999/xhtml/vocab#prev> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0131.html> <http://www.w3.org/1999/xhtml/vocab#first> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0131.html> <http://www.w3.org/1999/xhtml/vocab#last> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0131.html> <http://www.w3.org/1999/xhtml/vocab#subsection> <http://example.org/test.css> .
}

Test files for XHTML1+RDFa 1.1:

Example 807: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0131.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test</title>
<link rel="xhv:next&#x20;xhv:prev&#x09;xhv:first&#x0a;xhv:last&#x0d;xhv:subsection" href="http://example.org/test.css" />
</head>
<body>
</body>
</html>
Example 808: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0131.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#prev> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#first> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#last> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#subsection> <http://example.org/test.css> .
}

Test files for XHTML5+RDFa 1.1:

Example 809: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0131.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#">
<head>
<title>Test</title>
<link rel="xhv:next&#x20;xhv:prev&#x09;xhv:first&#x0a;xhv:last&#x0d;xhv:subsection" href="http://example.org/test.css" />
</head>
<body>
</body>
</html>
Example 810: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0131.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#prev> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#first> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#last> <http://example.org/test.css> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0131.xhtml> <http://www.w3.org/1999/xhtml/vocab#subsection> <http://example.org/test.css> .
}
Test 0134: Uppercase reserved words

Ensures that mixed-case reserved words generate triples.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 811: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0134.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test</title>
<link rel="LICENSE" href="http://example.org/test.css" />
</head>
<body>
</body>
</html>
Example 812: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0134.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0134.html> <http://www.w3.org/1999/xhtml/vocab#license> <http://example.org/test.css> .
}

Test files for HTML5+RDFa 1.1:

Example 813: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0134.html
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<link rel="LICENSE" href="http://example.org/test.css" />
</head>
<body>
</body>
</html>
Example 814: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0134.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0134.html> <http://www.w3.org/1999/xhtml/vocab#license> <http://example.org/test.css> .
}

Test files for XHTML1+RDFa 1.1:

Example 815: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0134.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test</title>
<link rel="LICENSE" href="http://example.org/test.css" />
</head>
<body>
</body>
</html>
Example 816: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0134.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0134.xhtml> <http://www.w3.org/1999/xhtml/vocab#license> <http://example.org/test.css> .
}

Test files for XHTML5+RDFa 1.1:

Example 817: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0134.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
<link rel="LICENSE" href="http://example.org/test.css" />
</head>
<body>
</body>
</html>
Example 818: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0134.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0134.xhtml> <http://www.w3.org/1999/xhtml/vocab#license> <http://example.org/test.css> .
}
Test 0140: Blank nodes identifiers are not allowed as predicates

The RDF data model does not allow blank node identifiers in predicates. This test ensures that RDFa processors do not emit invalid triples.

Expected query to return false

Test files for HTML4+RDFa 1.1:

Example 819: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0140.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Blank-node as Predicate Test</title>
</head>
<body>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
</body>
</html>
Example 820: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0140.sparql
# This is a negative test, no triples containing "Test" should be generated. 
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0140.html> ?p "Test".
}

Test files for HTML5+RDFa 1.1:

Example 821: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0140.html
<!DOCTYPE html>
<html>
<head>
<title>Blank-node as Predicate Test</title>
</head>
<body>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
</body>
</html>
Example 822: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0140.sparql
# This is a negative test, no triples containing "Test" should be generated. 
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0140.html> ?p "Test".
}

Test files for XHTML1+RDFa 1.1:

Example 823: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0140.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Blank-node as Predicate Test</title>
</head>
<body>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
</body>
</html>
Example 824: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0140.sparql
# This is a negative test, no triples containing "Test" should be generated. 
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0140.xhtml> ?p "Test".
}

Test files for XHTML5+RDFa 1.1:

Example 825: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0140.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Blank-node as Predicate Test</title>
</head>
<body>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
</body>
</html>
Example 826: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0140.sparql
# This is a negative test, no triples containing "Test" should be generated. 
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0140.xhtml> ?p "Test".
}

Test files for XML+RDFa 1.1:

Example 827: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0140.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Blank-node as Predicate Test</title>
</head>
<body>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
</body>
</root>
Example 828: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0140.sparql
# This is a negative test, no triples containing "Test" should be generated. 
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0140.xml> ?p "Test".
}
Test 0147: xmlns prefix 'xmlzzz' (reserved)

Ensures that RDFa processors allow the prefix 'xmlzzz', even though it is a reserved prefix in XML.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 829: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0147.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test</title>
</head>
<body>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
</body>
</html>
Example 830: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0147.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0147.html> <http://example.org/test> "Test".
}

Test files for HTML5+RDFa 1.1:

Example 831: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0147.html
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
</head>
<body>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
</body>
</html>
Example 832: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0147.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0147.html> <http://example.org/test> "Test".
}

Test files for XHTML1+RDFa 1.1:

Example 833: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0147.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test</title>
</head>
<body>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
</body>
</html>
Example 834: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0147.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0147.xhtml> <http://example.org/test> "Test".
}

Test files for XHTML5+RDFa 1.1:

Example 835: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0147.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
</head>
<body>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
</body>
</html>
Example 836: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0147.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0147.xhtml> <http://example.org/test> "Test".
}

Test files for XML+RDFa 1.1:

Example 837: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0147.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test</title>
</head>
<body>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
</body>
</root>
Example 838: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0147.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0147.xml> <http://example.org/test> "Test".
}
Test 0172: @datatype="" generates plain literal in presence of child nodes

Checks to ensure that when @datatype="" is used on an element that contains child nodes, that the literal that is generated is a plain literal.

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 839: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0172.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/terms#">
<head>
<title>Test 0172</title>
<base href="http://example.org/"/>
</head>
<body xml:lang="en">
<p property="ex:prop" datatype="">A <strong>plain literal</strong> with a lang tag.</p>
</body>
</html>
Example 840: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0172.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "A plain literal with a lang tag."@en .
}
Test 0173: @xml:lang="" clears language setting

Checks to ensure that when @xml:lang="" is used that any parent element language setting is cleared and a language-less literal is generated.

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 841: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0173.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/terms#">
<head>
<title>Test 0173</title>
<base href="http://example.org/"/>
</head>
<body xml:lang="en">
<p property="ex:prop" xml:lang="">Just a plain literal.</p>
</body>
</html>
Example 842: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0173.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "Just a plain literal." .
<http://example.org/> <http://example.org/terms#prop> ?plain .
FILTER(lang(?plain) = "")
}
Test 0174: Support single character prefix in CURIEs

Checks to ensure that the RDFa processor correctly processes single character prefixes when processing CURIEs.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 843: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0174.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:v="http://www.w3.org/2006/vcard/ns#">
<head>
<title>Test 0174</title>
</head>
<body>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
</body>

</html>
Example 844: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0174.sparql
ASK WHERE {
<http://example.org/jd> <http://www.w3.org/2006/vcard/ns#fn> "John Doe" .
}

Test files for HTML5+RDFa 1.1:

Example 845: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0174.html
<!DOCTYPE html>
<html xmlns:v="http://www.w3.org/2006/vcard/ns#">
<head>
<title>Test 0174</title>
</head>
<body>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
</body>

</html>
Example 846: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0174.sparql
ASK WHERE {
<http://example.org/jd> <http://www.w3.org/2006/vcard/ns#fn> "John Doe" .
}

Test files for XHTML1+RDFa 1.1:

Example 847: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0174.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:v="http://www.w3.org/2006/vcard/ns#">
<head>
<title>Test 0174</title>
</head>
<body>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
</body>

</html>
Example 848: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0174.sparql
ASK WHERE {
<http://example.org/jd> <http://www.w3.org/2006/vcard/ns#fn> "John Doe" .
}

Test files for XHTML5+RDFa 1.1:

Example 849: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0174.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="http://www.w3.org/2006/vcard/ns#">
<head>
<title>Test 0174</title>
</head>
<body>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
</body>

</html>
Example 850: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0174.sparql
ASK WHERE {
<http://example.org/jd> <http://www.w3.org/2006/vcard/ns#fn> "John Doe" .
}

Test files for XML+RDFa 1.1:

Example 851: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0174.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:v="http://www.w3.org/2006/vcard/ns#">
<head>
<title>Test 0174</title>
</head>
<body>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
</body>

</root>
Example 852: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0174.sparql
ASK WHERE {
<http://example.org/jd> <http://www.w3.org/2006/vcard/ns#fn> "John Doe" .
}
Test 0175: IRI for @property is allowed

Checks to make sure that a URI may be used as a @property value

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 853: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0175.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0175</title>
</head>
<body>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
</body>
</html>
Example 854: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0175.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
FILTER isBlank(?a)
}

Test files for HTML5+RDFa 1.1:

Example 855: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0175.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0175</title>
</head>
<body>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
</body>
</html>
Example 856: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0175.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
FILTER isBlank(?a)
}

Test files for XHTML1+RDFa 1.1:

Example 857: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0175.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0175</title>
</head>
<body>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
</body>
</html>
Example 858: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0175.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
FILTER isBlank(?a)
}

Test files for XHTML5+RDFa 1.1:

Example 859: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0175.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0175</title>
</head>
<body>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
</body>
</html>
Example 860: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0175.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
FILTER isBlank(?a)
}

Test files for XML+RDFa 1.1:

Example 861: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0175.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0175</title>
</head>
<body>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
</body>
</root>
Example 862: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0175.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
FILTER isBlank(?a)
}
Test 0176: IRI for @rel and @rev is allowed

Checks to make sure that a URI may be used as @rel and @rev values

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 863: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0176.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0176</title>
</head>
<body>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
</body>


</html>
Example 864: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0176.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@kellogg-assoc.com> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
?b <http://xmlns.com/foaf/0.1/knows> ?a .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for HTML5+RDFa 1.1:

Example 865: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0176.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0176</title>
</head>
<body>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
</body>


</html>
Example 866: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0176.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@kellogg-assoc.com> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
?b <http://xmlns.com/foaf/0.1/knows> ?a .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML1+RDFa 1.1:

Example 867: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0176.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0176</title>
</head>
<body>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
</body>


</html>
Example 868: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0176.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@kellogg-assoc.com> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
?b <http://xmlns.com/foaf/0.1/knows> ?a .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML5+RDFa 1.1:

Example 869: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0176.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0176</title>
</head>
<body>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
</body>


</html>
Example 870: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0176.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@kellogg-assoc.com> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
?b <http://xmlns.com/foaf/0.1/knows> ?a .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XML+RDFa 1.1:

Example 871: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0176.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0176</title>
</head>
<body>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
</body>


</root>
Example 872: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0176.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/mbox> <mailto:manu.sporny@digitalbazaar.com> .
?b <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@kellogg-assoc.com> .
?a <http://xmlns.com/foaf/0.1/knows> ?b .
?b <http://xmlns.com/foaf/0.1/knows> ?a .
FILTER ( isBlank(?a) && isBlank(?b) )
}
Test 0177: Test @prefix

Checks to make sure @prefix with a single entry creates a URI mapping

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 873: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0177.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0177</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 874: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0177.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for HTML5+RDFa 1.1:

Example 875: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0177.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0177</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 876: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0177.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML1+RDFa 1.1:

Example 877: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0177.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0177</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 878: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0177.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML5+RDFa 1.1:

Example 879: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0177.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0177</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 880: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0177.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}
Test 0178: Test @prefix with multiple mappings

Checks to make sure @prefix with multiple entires creates multiple URI mappings

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 881: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0178.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0178</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
</body>
</html>
Example 882: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0178.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent" .
}

Test files for HTML5+RDFa 1.1:

Example 883: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0178.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0178</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
</body>
</html>
Example 884: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0178.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent" .
}

Test files for XHTML1+RDFa 1.1:

Example 885: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0178.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0178</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
</body>
</html>
Example 886: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0178.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent" .
}

Test files for XHTML5+RDFa 1.1:

Example 887: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0178.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0178</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
</body>
</html>
Example 888: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0178.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent" .
}
Test 0179: Test @prefix vs @xmlns priority

Checks to make sure @prefix has a higher priority than @xmlns

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 889: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0179.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0179</title>
<base href="http://example.org/"/>
</head>
<body>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 890: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0179.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for HTML5+RDFa 1.1:

Example 891: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0179.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0179</title>
<base href="http://example.org/"/>
</head>
<body>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 892: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0179.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML1+RDFa 1.1:

Example 893: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0179.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0179</title>
<base href="http://example.org/"/>
</head>
<body>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 894: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0179.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML5+RDFa 1.1:

Example 895: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0179.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0179</title>
<base href="http://example.org/"/>
</head>
<body>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
</body>
</html>
Example 896: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0179.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}
Test 0180: Test @prefix with empty mapping

Checks to make sure @prefix with empty prefix does not create a mapping.

Expected query to return false

Test files for HTML4+RDFa 1.1:

Example 897: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0180.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0180</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
</body>
</html>
Example 898: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0180.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for HTML5+RDFa 1.1:

Example 899: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0180.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0180</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
</body>
</html>
Example 900: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0180.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML1+RDFa 1.1:

Example 901: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0180.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0180</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
</body>
</html>
Example 902: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0180.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML5+RDFa 1.1:

Example 903: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0180.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0180</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
</body>
</html>
Example 904: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0180.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XML+RDFa 1.1:

Example 905: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0180.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0180</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
</body>
</root>
Example 906: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0180.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}
Test 0181: Test default XHTML vocabulary

Checks Tests a CURIE with default namespace uses XHTML Vocabulary namespace.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 907: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0181.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0181</title>
</head>
<body>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 908: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0181.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for HTML5+RDFa 1.1:

Example 909: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0181.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0181</title>
</head>
<body>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 910: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0181.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for XHTML1+RDFa 1.1:

Example 911: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0181.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0181</title>
</head>
<body>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 912: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0181.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for XHTML5+RDFa 1.1:

Example 913: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0181.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0181</title>
</head>
<body>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 914: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0181.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for XML+RDFa 1.1:

Example 915: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0181.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0181</title>
</head>
<body>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</root>
Example 916: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0181.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}
Test 0182: Test prefix locality

Checks to be sure that prefixes are defined within the element hierarchy.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 917: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0182.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0182</title>
<base href="http://example.org/"/>
</head>
<body>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
</body>
</html>
Example 918: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0182.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent"
}

Test files for HTML5+RDFa 1.1:

Example 919: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0182.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0182</title>
<base href="http://example.org/"/>
</head>
<body>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
</body>
</html>
Example 920: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0182.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent"
}

Test files for XHTML1+RDFa 1.1:

Example 921: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0182.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0182</title>
<base href="http://example.org/"/>
</head>
<body>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
</body>
</html>
Example 922: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0182.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent"
}

Test files for XHTML5+RDFa 1.1:

Example 923: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0182.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0182</title>
<base href="http://example.org/"/>
</head>
<body>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
</body>
</html>
Example 924: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0182.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent"
}
Test 0183: Test @xmlns redefines @prefix

A new @xmlns definition should override a previous @prefix definition at this element.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 925: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0183.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0183</title>
<base href="http://example.org/"/>
</head>
<body>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
</body>
</html>
Example 926: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0183.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent"
}

Test files for HTML5+RDFa 1.1:

Example 927: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0183.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0183</title>
<base href="http://example.org/"/>
</head>
<body>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
</body>
</html>
Example 928: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0183.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent"
}

Test files for XHTML1+RDFa 1.1:

Example 929: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0183.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0183</title>
<base href="http://example.org/"/>
</head>
<body>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
</body>
</html>
Example 930: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0183.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent"
}

Test files for XHTML5+RDFa 1.1:

Example 931: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0183.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0183</title>
<base href="http://example.org/"/>
</head>
<body>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
</body>
</html>
Example 932: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0183.sparql
ASK WHERE {
<http://example.org/#this> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<http://example.org/#this> <http://xmlns.com/foaf/0.1/name> "A particular agent"
}
Test 0186: @vocab after subject declaration

Check that @vocab establishes a new default vocabulary when declared on the same element as a subject declaration via @about.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 933: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0186.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0186</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</body>
</html>
Example 934: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0186.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for HTML5+RDFa 1.1:

Example 935: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0186.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0186</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</body>
</html>
Example 936: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0186.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML1+RDFa 1.1:

Example 937: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0186.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0186</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</body>
</html>
Example 938: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0186.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML5+RDFa 1.1:

Example 939: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0186.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0186</title>
<base href="http://example.org/"/>
</head>
<body>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</body>
</html>
Example 940: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0186.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}
Test 0187: @vocab redefinition

Check that a more deeply nested @vocab attribute overloads a previous @vocab definition.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 941: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0187.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0187</title>
<base href="http://example.org/"/>
</head>
<body>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
</body>
</html>
Example 942: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0187.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for HTML5+RDFa 1.1:

Example 943: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0187.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0187</title>
<base href="http://example.org/"/>
</head>
<body>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
</body>
</html>
Example 944: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0187.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML1+RDFa 1.1:

Example 945: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0187.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0187</title>
<base href="http://example.org/"/>
</head>
<body>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
</body>
</html>
Example 946: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0187.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML5+RDFa 1.1:

Example 947: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0187.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0187</title>
<base href="http://example.org/"/>
</head>
<body>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
</body>
</html>
Example 948: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0187.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}
Test 0188: @vocab only affects predicates

Check that @vocab definitions on parent elements only affect predicate establishment.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 949: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0188.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0188</title>
<base href="http://example.org/"/>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
</body>
</html>
Example 950: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0188.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for HTML5+RDFa 1.1:

Example 951: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0188.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0188</title>
<base href="http://example.org/"/>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
</body>
</html>
Example 952: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0188.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML1+RDFa 1.1:

Example 953: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0188.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0188</title>
<base href="http://example.org/"/>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
</body>
</html>
Example 954: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0188.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML5+RDFa 1.1:

Example 955: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0188.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0188</title>
<base href="http://example.org/"/>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
</body>
</html>
Example 956: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0188.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}
Test 0189: @vocab overrides default term

Check that @vocab changes a default term from XHV. Lookup checks default vocabulary before local term mappings.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 957: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0189.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0189</title>
</head>
<body>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 958: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0189.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.example.org/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for HTML5+RDFa 1.1:

Example 959: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0189.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0189</title>
</head>
<body>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 960: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0189.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.example.org/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for XHTML1+RDFa 1.1:

Example 961: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0189.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0189</title>
</head>
<body>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 962: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0189.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.example.org/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for XHTML5+RDFa 1.1:

Example 963: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0189.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0189</title>
</head>
<body>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 964: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0189.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.example.org/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}
Test 0190: Test term case insensitivity

Check to ensure a mixed case term matches a case insensitive definition

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 965: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0190.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0190</title>
</head>
<body>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 966: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0190.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for HTML5+RDFa 1.1:

Example 967: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0190.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0190</title>
</head>
<body>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 968: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0190.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for XHTML1+RDFa 1.1:

Example 969: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0190.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0190</title>
</head>
<body>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 970: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0190.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}

Test files for XHTML5+RDFa 1.1:

Example 971: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0190.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0190</title>
</head>
<body>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
</body>
</html>
Example 972: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0190.sparql
ASK WHERE {
<http://www.example.org/software>
<http://www.w3.org/1999/xhtml/vocab#license>
<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231> .
}
Test 0196: Test process explicit XMLLiteral

XMLLiteral must be explicitly specified, otherwise a normal untyped literal is created

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 973: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0196.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0196</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
</body>
</html>
Example 974: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0196.sparql
# Some parsers may generate XML Literals that differ from the ones
# shown below. The only requirement for XML Literal tests is that
# the RDF graph that is generated is equivalent to the one expressed
# in the XHTML (preservation of whitespace and namespaces that are
# utilized in the XML Literal).

ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> "This is an XMLLiteral"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://www.example.org> <http://example.org/rdf/plainlit> "This is a plain literal" .
}

Test files for HTML5+RDFa 1.1:

Example 975: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0196.html
<!DOCTYPE html>
<html xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0196</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
</body>
</html>
Example 976: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0196.sparql
# Some parsers may generate XML Literals that differ from the ones
# shown below. The only requirement for XML Literal tests is that
# the RDF graph that is generated is equivalent to the one expressed
# in the XHTML (preservation of whitespace and namespaces that are
# utilized in the XML Literal).

ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> "This is an XMLLiteral"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://www.example.org> <http://example.org/rdf/plainlit> "This is a plain literal" .
}

Test files for XHTML1+RDFa 1.1:

Example 977: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0196.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0196</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
</body>
</html>
Example 978: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0196.sparql
# Some parsers may generate XML Literals that differ from the ones
# shown below. The only requirement for XML Literal tests is that
# the RDF graph that is generated is equivalent to the one expressed
# in the XHTML (preservation of whitespace and namespaces that are
# utilized in the XML Literal).

ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> "This is an XMLLiteral"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://www.example.org> <http://example.org/rdf/plainlit> "This is a plain literal" .
}

Test files for XHTML5+RDFa 1.1:

Example 979: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0196.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0196</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
</body>
</html>
Example 980: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0196.sparql
# Some parsers may generate XML Literals that differ from the ones
# shown below. The only requirement for XML Literal tests is that
# the RDF graph that is generated is equivalent to the one expressed
# in the XHTML (preservation of whitespace and namespaces that are
# utilized in the XML Literal).

ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> "This is an XMLLiteral"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://www.example.org> <http://example.org/rdf/plainlit> "This is a plain literal" .
}

Test files for XML+RDFa 1.1:

Example 981: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0196.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0196</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
</body>
</root>
Example 982: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0196.sparql
# Some parsers may generate XML Literals that differ from the ones
# shown below. The only requirement for XML Literal tests is that
# the RDF graph that is generated is equivalent to the one expressed
# in the XHTML (preservation of whitespace and namespaces that are
# utilized in the XML Literal).

ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> "This is an XMLLiteral"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://www.example.org> <http://example.org/rdf/plainlit> "This is a plain literal" .
}
Test 0197: Test TERMorCURIEorAbsURI requires an absolute URI

TERMorCURIEorAbsURI requires an absolute URI

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 983: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0197.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/terms/">
<head>
<title>Test 0197</title>
<base href="http://www.example.org/me" />
</head>
<body>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
</body>
</html>
Example 984: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0197.sparql
ASK WHERE {
<http://www.example.org/me> <http://purl.org/dc/terms/language> "Ruby" .
}

Test files for HTML5+RDFa 1.1:

Example 985: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0197.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/terms/">
<head>
<title>Test 0197</title>
<base href="http://www.example.org/me" />
</head>
<body>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
</body>
</html>
Example 986: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0197.sparql
ASK WHERE {
<http://www.example.org/me> <http://purl.org/dc/terms/language> "Ruby" .
}

Test files for XHTML1+RDFa 1.1:

Example 987: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0197.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/terms/">
<head>
<title>Test 0197</title>
<base href="http://www.example.org/me" />
</head>
<body>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
</body>
</html>
Example 988: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0197.sparql
ASK WHERE {
<http://www.example.org/me> <http://purl.org/dc/terms/language> "Ruby" .
}

Test files for XHTML5+RDFa 1.1:

Example 989: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0197.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/terms/">
<head>
<title>Test 0197</title>
<base href="http://www.example.org/me" />
</head>
<body>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
</body>
</html>
Example 990: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0197.sparql
ASK WHERE {
<http://www.example.org/me> <http://purl.org/dc/terms/language> "Ruby" .
}
Test 0198: datatype XMLLiteral with other embedded RDFa

Checks to ensure that when datatype is the default the parser generates triples for embedded content.

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 991: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0198.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0198</title>
<base href="http://www.example.org/me" />
</head>
<body>
<div id="mark" about="#mark" typeof="foaf:Person">
<h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
property="foaf:firstName">Mark</span> <span
property="foaf:surname">Birbeck</span></h2>
</div>
</body>
</html>
Example 992: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0198.sparql
ASK WHERE {
<http://www.example.org/me#mark> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/me#mark> <http://xmlns.com/foaf/0.1/name>
"<span property=\"foaf:firstName\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">Mark</span> <span property=\"foaf:surname\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">Birbeck</span>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://www.example.org/me#mark> <http://xmlns.com/foaf/0.1/firstName> "Mark" .
<http://www.example.org/me#mark> <http://xmlns.com/foaf/0.1/surname> "Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 993: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0198.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0198</title>
<base href="http://www.example.org/me" />
</head>
<body>
<div id="mark" about="#mark" typeof="foaf:Person">
<h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
property="foaf:firstName">Mark</span> <span
property="foaf:surname">Birbeck</span></h2>
</div>
</body>
</html>
Example 994: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0198.sparql
ASK WHERE {
<http://www.example.org/me#mark> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org/me#mark> <http://xmlns.com/foaf/0.1/name>
"<span property=\"foaf:firstName\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">Mark</span> <span property=\"foaf:surname\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">Birbeck</span>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
<http://www.example.org/me#mark> <http://xmlns.com/foaf/0.1/firstName> "Mark" .
<http://www.example.org/me#mark> <http://xmlns.com/foaf/0.1/surname> "Birbeck" .
}
Test 0201: Expressing an attribute using @property

Tests @property to establish the predicate; literal object is in the content of the element.

Expected query to return true

Test files for SVG+RDFa 1.1:

Example 995: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0201.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xmlns:dc="http://purl.org/dc/terms/"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc property="dc:description">A yellow rectangle with sharp corners.</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2"/>
<rect x="400" y="100" width="400" height="200"
fill="yellow" stroke="navy" stroke-width="10" />

</svg>
Example 996: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0201.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0201.svg> <http://purl.org/dc/terms/description> "A yellow rectangle with sharp corners." .
}
Test 0202: Tests to ensure @xml:base used in SVG

Tests to make sure that @xml:base is used in SVG+RDFa, XML+RDFa.

Expected query to return true

Test files for SVG+RDFa 1.1:

Example 997: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0202.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xml:base="http://example.com/"
xmlns:dc="http://purl.org/dc/terms/"
xmlns="http://www.w3.org/2000/svg">
version="1.2"
baseProfile="tiny"
<desc property="dc:description">A yellow rectangle with sharp corners.</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2"/>
<rect x="400" y="100" width="400" height="200"
fill="yellow" stroke="navy" stroke-width="10" />
</svg>
Example 998: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0202.sparql
ASK WHERE {
<http://example.com/> <http://purl.org/dc/terms/description> "A yellow rectangle with sharp corners." .
}

Test files for XML+RDFa 1.1:

Example 999: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0202.xml
<?xml version="1.0" encoding="UTF-8"?>
<root width="12cm" height="4cm" viewBox="0 0 1200 400"
xml:base="http://example.com/"
xmlns:dc="http://purl.org/dc/terms/"
xmlns="http://www.w3.org/2000/svg">
version="1.2"
baseProfile="tiny"
<desc property="dc:description">A yellow rectangle with sharp corners.</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2"/>
<rect x="400" y="100" width="400" height="200"
fill="yellow" stroke="navy" stroke-width="10" />
</root>
Example 1000: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0202.sparql
ASK WHERE {
<http://example.com/> <http://purl.org/dc/terms/description> "A yellow rectangle with sharp corners." .
}
Test 0203: Tests to ensure @xml:base, XML+RDFa used in non-root elements in SVG

Tests to make sure that @xml:base is used in non-root elements in SVG+RDFa, XML+RDFa.

Expected query to return true

Test files for SVG+RDFa 1.1:

Example 1001: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0203.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xml:base="http://example.com/not-this-one/"
xmlns:dc="http://purl.org/dc/terms/"
xmlns="http://www.w3.org/2000/svg">
version="1.2"
baseProfile="tiny"
<desc about="" xml:base="http://example.com/" property="dc:description">A yellow rectangle with sharp corners.</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2"/>
<rect x="400" y="100" width="400" height="200"
fill="yellow" stroke="navy" stroke-width="10" />
</svg>
Example 1002: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0203.sparql
ASK WHERE {
<http://example.com/> <http://purl.org/dc/terms/description> "A yellow rectangle with sharp corners." .
}

Test files for XML+RDFa 1.1:

Example 1003: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0203.xml
<?xml version="1.0" encoding="UTF-8"?>
<root width="12cm" height="4cm" viewBox="0 0 1200 400"
xml:base="http://example.com/not-this-one/"
xmlns:dc="http://purl.org/dc/terms/"
xmlns="http://www.w3.org/2000/svg">
version="1.2"
baseProfile="tiny"
<desc about="" xml:base="http://example.com/" property="dc:description">A yellow rectangle with sharp corners.</desc>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2"/>
<rect x="400" y="100" width="400" height="200"
fill="yellow" stroke="navy" stroke-width="10" />
</root>
Example 1004: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0203.sparql
ASK WHERE {
<http://example.com/> <http://purl.org/dc/terms/description> "A yellow rectangle with sharp corners." .
}
Test 0206: Usage of Initial Context

Tests whether the default RDFa 1.1 context (which contains prefix definitions, among others, to the Semantic Web Standard vocabularies) is properly handled.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1005: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0206.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Default context test 0206</title>
</head>
<body>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
</body>

</html>
Example 1006: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0206.sparql
ASK WHERE {
<http://www.w3.org/2001/XMLSchema#maxExclusive> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
}

Test files for HTML5+RDFa 1.1:

Example 1007: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0206.html
<!DOCTYPE html>
<html>
<head>
<title>Default context test 0206</title>
</head>
<body>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
</body>

</html>
Example 1008: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0206.sparql
ASK WHERE {
<http://www.w3.org/2001/XMLSchema#maxExclusive> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
}

Test files for XHTML1+RDFa 1.1:

Example 1009: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0206.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Default context test 0206</title>
</head>
<body>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
</body>

</html>
Example 1010: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0206.sparql
ASK WHERE {
<http://www.w3.org/2001/XMLSchema#maxExclusive> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
}

Test files for XHTML5+RDFa 1.1:

Example 1011: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0206.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Default context test 0206</title>
</head>
<body>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
</body>

</html>
Example 1012: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0206.sparql
ASK WHERE {
<http://www.w3.org/2001/XMLSchema#maxExclusive> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
}

Test files for XML+RDFa 1.1:

Example 1013: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0206.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Default context test 0206</title>
</head>
<body>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
</body>

</root>
Example 1014: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0206.sparql
ASK WHERE {
<http://www.w3.org/2001/XMLSchema#maxExclusive> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#DatatypeProperty> .
}
Test 0207: Vevent using @typeof

Tests Vevent using @typeof (inlc. dtstart, dtend, etc.)

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1015: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0207.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0207</title>
</head>
<body>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
</body>
</html>
Example 1016: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0207.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0207.html#event1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#summary> "Weekend off in Iona" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2006-10-21"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtend> "2006-10-23"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#url> <http://freetime.example.org/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#location> "Iona, UK" .
}

Test files for HTML5+RDFa 1.1:

Example 1017: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0207.html
<!DOCTYPE html>
<html xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0207</title>
</head>
<body>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
</body>
</html>
Example 1018: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0207.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0207.html#event1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#summary> "Weekend off in Iona" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2006-10-21"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtend> "2006-10-23"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#url> <http://freetime.example.org/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0207.html#event1> <http://www.w3.org/2002/12/cal/icaltzd#location> "Iona, UK" .
}

Test files for XHTML1+RDFa 1.1:

Example 1019: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0207.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0207</title>
</head>
<body>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
</body>
</html>
Example 1020: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0207.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0207.xhtml#event1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#summary> "Weekend off in Iona" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2006-10-21"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtend> "2006-10-23"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#url> <http://freetime.example.org/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#location> "Iona, UK" .
}

Test files for XHTML5+RDFa 1.1:

Example 1021: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0207.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0207</title>
</head>
<body>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
</body>
</html>
Example 1022: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0207.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0207.xhtml#event1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#summary> "Weekend off in Iona" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2006-10-21"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtend> "2006-10-23"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#url> <http://freetime.example.org/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0207.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#location> "Iona, UK" .
}

Test files for XML+RDFa 1.1:

Example 1023: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0207.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0207</title>
</head>
<body>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
</body>
</root>
Example 1024: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0207.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0207.xml#event1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0207.xml#event1> <http://www.w3.org/2002/12/cal/icaltzd#summary> "Weekend off in Iona" .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0207.xml#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2006-10-21"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0207.xml#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtend> "2006-10-23"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0207.xml#event1> <http://www.w3.org/2002/12/cal/icaltzd#url> <http://freetime.example.org/> .
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0207.xml#event1> <http://www.w3.org/2002/12/cal/icaltzd#location> "Iona, UK" .
}
Test 0213: Datatype generation for a literal with XML content, version 1.1

In RDFa 1.1, even if a literal contains XML elements, and no explicit datatype is set, the result is plain literal

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1025: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0213.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0213</title>
</head>
<body>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>

</html>
Example 1026: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0213.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time" .
}

Test files for HTML5+RDFa 1.1:

Example 1027: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0213.html
<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0213</title>
</head>
<body>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>

</html>
Example 1028: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0213.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time" .
}

Test files for XHTML1+RDFa 1.1:

Example 1029: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0213.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0213</title>
</head>
<body>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>

</html>
Example 1030: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0213.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time" .
}

Test files for XHTML5+RDFa 1.1:

Example 1031: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0213.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0213</title>
</head>
<body>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>

</html>
Example 1032: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0213.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time" .
}

Test files for XML+RDFa 1.1:

Example 1033: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0213.xml
<?xml version="1.0" encoding="UTF-8"?>
<root prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0213</title>
</head>
<body>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
</body>

</root>
Example 1034: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0213.sparql
ASK WHERE {
<http://www.example.org/> <http://purl.org/dc/elements/1.1/title> "E = mc2: The Most Urgent Problem of Our Time" .
}
Test 0214: Root element has implicit @about=""

All documents have an implicit @about=""

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1035: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0214.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" typeof="foaf:Document">
<head>
<title property="dc:title">Test 0214</title>
</head>
<body>
<p>This document has a title.</p>
</body>
</html>
Example 1036: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0214.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0214.html> a <http://xmlns.com/foaf/0.1/Document>;
<http://purl.org/dc/terms/title> "Test 0214" .
}

Test files for HTML5+RDFa 1.1:

Example 1037: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0214.html
<!DOCTYPE html>
<html typeof="foaf:Document">
<head>
<title property="dc:title">Test 0214</title>
</head>
<body>
<p>This document has a title.</p>
</body>
</html>
Example 1038: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0214.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0214.html> a <http://xmlns.com/foaf/0.1/Document>;
<http://purl.org/dc/terms/title> "Test 0214" .
}

Test files for SVG+RDFa 1.1:

Example 1039: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0214.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg typeof="foaf:Document">
<head>
<title property="dc:title">Test 0214</title>
</head>
<body>
<p>This document has a title.</p>
</body>
</svg>
Example 1040: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0214.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0214.svg> a <http://xmlns.com/foaf/0.1/Document>;
<http://purl.org/dc/terms/title> "Test 0214" .
}

Test files for XHTML1+RDFa 1.1:

Example 1041: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0214.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" typeof="foaf:Document">
<head>
<title property="dc:title">Test 0214</title>
</head>
<body>
<p>This document has a title.</p>
</body>
</html>
Example 1042: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0214.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0214.xhtml> a <http://xmlns.com/foaf/0.1/Document>;
<http://purl.org/dc/terms/title> "Test 0214" .
}

Test files for XHTML5+RDFa 1.1:

Example 1043: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0214.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" typeof="foaf:Document">
<head>
<title property="dc:title">Test 0214</title>
</head>
<body>
<p>This document has a title.</p>
</body>
</html>
Example 1044: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0214.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0214.xhtml> a <http://xmlns.com/foaf/0.1/Document>;
<http://purl.org/dc/terms/title> "Test 0214" .
}

Test files for XML+RDFa 1.1:

Example 1045: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0214.xml
<?xml version="1.0" encoding="UTF-8"?>
<root typeof="foaf:Document">
<head>
<title property="dc:title">Test 0214</title>
</head>
<body>
<p>This document has a title.</p>
</body>
</root>
Example 1046: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0214.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0214.xml> a <http://xmlns.com/foaf/0.1/Document>;
<http://purl.org/dc/terms/title> "Test 0214" .
}
Test 0216: Proper character encoding detection in spite of large headers

Character encoding should work even in view of a large set of characters as attributes in the header, ie, when content sniffing may not work to establish encoding.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1047: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0216.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" prefix = "
air: http://www.daml.org/2001/10/html/airport-ont#
bio: http://vocab.org/bio/0.1/
contact: http://www.w3.org/2000/10/swap/pim/contact#
dc: http://purl.org/dc/terms/
foaf: http://xmlns.com/foaf/0.1/
ical: http://www.w3.org/2002/12/cal/icaltzd#
owl: http://www.w3.org/2002/07/owl#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: http://www.w3.org/2000/01/rdf-schema#
rel: http://vocab.org/relationship/
openid: http://xmlns.openid.net/auth#
rss: http://web.resource.org/rss/1.0/
sioc: http://rdfs.org/sioc/ns#
xsd: http://www.w3.org/2001/XMLSchema#
google: http://rdf.data-vocabulary.org/#
rsa: http://www.w3.org/ns/auth/rsa#
cert: http://www.w3.org/ns/auth/cert#
wot: http://xmlns.com/wot/0.1/
">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
</head>
<body>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
</body>
</html>
Example 1048: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0216.sparql
ASK WHERE {
<http://www.ivan-herman.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Iván" .
}

Test files for HTML5+RDFa 1.1:

Example 1049: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0216.html
<!DOCTYPE html>
<html prefix = "
air: http://www.daml.org/2001/10/html/airport-ont#
bio: http://vocab.org/bio/0.1/
contact: http://www.w3.org/2000/10/swap/pim/contact#
dc: http://purl.org/dc/terms/
foaf: http://xmlns.com/foaf/0.1/
ical: http://www.w3.org/2002/12/cal/icaltzd#
owl: http://www.w3.org/2002/07/owl#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: http://www.w3.org/2000/01/rdf-schema#
rel: http://vocab.org/relationship/
openid: http://xmlns.openid.net/auth#
rss: http://web.resource.org/rss/1.0/
sioc: http://rdfs.org/sioc/ns#
xsd: http://www.w3.org/2001/XMLSchema#
google: http://rdf.data-vocabulary.org/#
rsa: http://www.w3.org/ns/auth/rsa#
cert: http://www.w3.org/ns/auth/cert#
wot: http://xmlns.com/wot/0.1/
">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
</head>
<body>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
</body>
</html>
Example 1050: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0216.sparql
ASK WHERE {
<http://www.ivan-herman.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Iván" .
}

Test files for XHTML1+RDFa 1.1:

Example 1051: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0216.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" prefix = "
air: http://www.daml.org/2001/10/html/airport-ont#
bio: http://vocab.org/bio/0.1/
contact: http://www.w3.org/2000/10/swap/pim/contact#
dc: http://purl.org/dc/terms/
foaf: http://xmlns.com/foaf/0.1/
ical: http://www.w3.org/2002/12/cal/icaltzd#
owl: http://www.w3.org/2002/07/owl#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: http://www.w3.org/2000/01/rdf-schema#
rel: http://vocab.org/relationship/
openid: http://xmlns.openid.net/auth#
rss: http://web.resource.org/rss/1.0/
sioc: http://rdfs.org/sioc/ns#
xsd: http://www.w3.org/2001/XMLSchema#
google: http://rdf.data-vocabulary.org/#
rsa: http://www.w3.org/ns/auth/rsa#
cert: http://www.w3.org/ns/auth/cert#
wot: http://xmlns.com/wot/0.1/
">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
</head>
<body>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
</body>
</html>
Example 1052: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0216.sparql
ASK WHERE {
<http://www.ivan-herman.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Iván" .
}

Test files for XHTML5+RDFa 1.1:

Example 1053: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0216.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix = "
air: http://www.daml.org/2001/10/html/airport-ont#
bio: http://vocab.org/bio/0.1/
contact: http://www.w3.org/2000/10/swap/pim/contact#
dc: http://purl.org/dc/terms/
foaf: http://xmlns.com/foaf/0.1/
ical: http://www.w3.org/2002/12/cal/icaltzd#
owl: http://www.w3.org/2002/07/owl#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: http://www.w3.org/2000/01/rdf-schema#
rel: http://vocab.org/relationship/
openid: http://xmlns.openid.net/auth#
rss: http://web.resource.org/rss/1.0/
sioc: http://rdfs.org/sioc/ns#
xsd: http://www.w3.org/2001/XMLSchema#
google: http://rdf.data-vocabulary.org/#
rsa: http://www.w3.org/ns/auth/rsa#
cert: http://www.w3.org/ns/auth/cert#
wot: http://xmlns.com/wot/0.1/
">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
</head>
<body>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
</body>
</html>
Example 1054: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0216.sparql
ASK WHERE {
<http://www.ivan-herman.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Iván" .
}
Test 0217: @vocab causes rdfa:usesVocabulary triple to be added

When encountering @vocab, a processor generates a triple with the base URI, rdfa:usesVocabulary and the IRI of the added vocabulary.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1055: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0217.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0217</title>
<base href="http://example.org/"/>
</head>
<body>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
</body>
</html>
Example 1056: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0217.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
<http://example.org/> <http://www.w3.org/ns/rdfa#usesVocabulary> <http://xmlns.com/foaf/0.1/> .
}

Test files for HTML5+RDFa 1.1:

Example 1057: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0217.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0217</title>
<base href="http://example.org/"/>
</head>
<body>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
</body>
</html>
Example 1058: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0217.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
<http://example.org/> <http://www.w3.org/ns/rdfa#usesVocabulary> <http://xmlns.com/foaf/0.1/> .
}

Test files for XHTML1+RDFa 1.1:

Example 1059: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0217.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0217</title>
<base href="http://example.org/"/>
</head>
<body>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
</body>
</html>
Example 1060: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0217.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
<http://example.org/> <http://www.w3.org/ns/rdfa#usesVocabulary> <http://xmlns.com/foaf/0.1/> .
}

Test files for XHTML5+RDFa 1.1:

Example 1061: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0217.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0217</title>
<base href="http://example.org/"/>
</head>
<body>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
</body>
</html>
Example 1062: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0217.sparql
ASK WHERE {
<http://example.org/#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
<http://example.org/> <http://www.w3.org/ns/rdfa#usesVocabulary> <http://xmlns.com/foaf/0.1/> .
}
Test 0218: @inlist to create empty list

@inlist on @rel with no incomplete triples creates an empty list.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1063: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0218.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0218</title>
</head>
<body>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
</body>
</html>
Example 1064: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0218.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
}

Test files for HTML5+RDFa 1.1:

Example 1065: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0218.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0218</title>
</head>
<body>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
</body>
</html>
Example 1066: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0218.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
}

Test files for SVG+RDFa 1.1:

Example 1067: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0218.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0218</title>
</head>
<body>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
</body>
</svg>
Example 1068: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0218.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
}

Test files for XHTML1+RDFa 1.1:

Example 1069: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0218.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0218</title>
</head>
<body>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
</body>
</html>
Example 1070: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0218.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
}

Test files for XHTML5+RDFa 1.1:

Example 1071: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0218.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0218</title>
</head>
<body>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
</body>
</html>
Example 1072: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0218.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
}
Test 0219: @inlist with literal

@inlist with @property creates a list having a literal as a single element.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1073: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0219.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0219</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
</body>
</html>
Example 1074: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0219.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo") .
}

Test files for HTML5+RDFa 1.1:

Example 1075: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0219.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0219</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
</body>
</html>
Example 1076: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0219.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo") .
}

Test files for SVG+RDFa 1.1:

Example 1077: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0219.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0219</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
</body>
</svg>
Example 1078: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0219.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo") .
}

Test files for XHTML1+RDFa 1.1:

Example 1079: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0219.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0219</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
</body>
</html>
Example 1080: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0219.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo") .
}

Test files for XHTML5+RDFa 1.1:

Example 1081: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0219.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0219</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
</body>
</html>
Example 1082: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0219.sparql
ASK WHERE {
?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo") .
}
Test 0220: @inlist with IRI

@inlist with @rel and @href creates a list having an IRI as a single element.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1083: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0220.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0220</title>
</head>
<body>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</html>
Example 1084: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0220.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0220.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo>) .
}

Test files for HTML5+RDFa 1.1:

Example 1085: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0220.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0220</title>
</head>
<body>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</html>
Example 1086: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0220.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0220.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo>) .
}

Test files for SVG+RDFa 1.1:

Example 1087: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0220.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0220</title>
</head>
<body>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</svg>
Example 1088: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0220.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0220.svg>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo>) .
}

Test files for XHTML1+RDFa 1.1:

Example 1089: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0220.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0220</title>
</head>
<body>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</html>
Example 1090: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0220.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0220.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo>) .
}

Test files for XHTML5+RDFa 1.1:

Example 1091: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0220.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0220</title>
</head>
<body>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</html>
Example 1092: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0220.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0220.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo>) .
}
Test 0221: @inlist with hetrogenious membership

@inlist with @rel and @property creates a list with both IRI and Literal elements.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1093: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0221.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0221</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</html>
Example 1094: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0221.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0221.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" <foo>) .
}

Test files for HTML5+RDFa 1.1:

Example 1095: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0221.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0221</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</html>
Example 1096: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0221.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0221.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" <foo>) .
}

Test files for SVG+RDFa 1.1:

Example 1097: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0221.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0221</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</svg>
Example 1098: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0221.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0221.svg>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" <foo>) .
}

Test files for XHTML1+RDFa 1.1:

Example 1099: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0221.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0221</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</html>
Example 1100: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0221.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0221.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" <foo>) .
}

Test files for XHTML5+RDFa 1.1:

Example 1101: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0221.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0221</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
</body>
</html>
Example 1102: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0221.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0221.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" <foo>) .
}
Test 0222: @inlist with multi-level elements

@inlist with @property at different levels of descendence creates single list.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1103: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0222.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0222</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
</body>
</html>
Example 1104: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0222.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0222.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar") .
}

Test files for HTML5+RDFa 1.1:

Example 1105: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0222.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0222</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
</body>
</html>
Example 1106: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0222.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0222.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar") .
}

Test files for SVG+RDFa 1.1:

Example 1107: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0222.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0222</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
</body>
</svg>
Example 1108: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0222.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0222.svg>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar") .
}

Test files for XHTML1+RDFa 1.1:

Example 1109: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0222.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0222</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
</body>
</html>
Example 1110: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0222.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0222.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar") .
}

Test files for XHTML5+RDFa 1.1:

Example 1111: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0222.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0222</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
</body>
</html>
Example 1112: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0222.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0222.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar") .
}
Test 0223: @inlist with non-list property

Use of predicate with @inlist and without @inlist creates both list and non-list triples.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1113: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0223.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0223</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
</body>
</html>
Example 1114: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0223.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0223.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar"), "Baz" .
}

Test files for HTML5+RDFa 1.1:

Example 1115: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0223.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0223</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
</body>
</html>
Example 1116: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0223.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0223.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar"), "Baz" .
}

Test files for SVG+RDFa 1.1:

Example 1117: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0223.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0223</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
</body>
</svg>
Example 1118: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0223.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0223.svg>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar"), "Baz" .
}

Test files for XHTML1+RDFa 1.1:

Example 1119: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0223.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0223</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
</body>
</html>
Example 1120: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0223.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0223.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar"), "Baz" .
}

Test files for XHTML5+RDFa 1.1:

Example 1121: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0223.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0223</title>
</head>
<body>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
</body>
</html>
Example 1122: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0223.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0223.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo" "Bar"), "Baz" .
}
Test 0224: @inlist hanging @rel

Use of @rel and @inlist with decendent IRI elements creates list

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1123: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0224.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0224</title>
</head>
<body>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
</body>
</html>
Example 1124: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0224.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0224.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo> <bar>) .
}

Test files for HTML5+RDFa 1.1:

Example 1125: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0224.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0224</title>
</head>
<body>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
</body>
</html>
Example 1126: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0224.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0224.html>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo> <bar>) .
}

Test files for SVG+RDFa 1.1:

Example 1127: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0224.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0224</title>
</head>
<body>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
</body>
</svg>
Example 1128: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0224.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0224.svg>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo> <bar>) .
}

Test files for XHTML1+RDFa 1.1:

Example 1129: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0224.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0224</title>
</head>
<body>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
</body>
</html>
Example 1130: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0224.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0224.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo> <bar>) .
}

Test files for XHTML5+RDFa 1.1:

Example 1131: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0224.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0224</title>
</head>
<body>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
</body>
</html>
Example 1132: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0224.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0224.xhtml>
ASK WHERE {
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> (<foo> <bar>) .
}
Test 0225: @inlist on different elements with same subject

@inlist with same property and subject on different elements creates multiple lists

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1133: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0225.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0225</title>
</head>
<body>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
</body>
</html>
Example 1134: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0225.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0225.html>
ASK WHERE {
<foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo"), ("Bar") .
}

Test files for HTML5+RDFa 1.1:

Example 1135: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0225.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0225</title>
</head>
<body>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
</body>
</html>
Example 1136: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0225.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0225.html>
ASK WHERE {
<foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo"), ("Bar") .
}

Test files for SVG+RDFa 1.1:

Example 1137: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0225.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0225</title>
</head>
<body>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
</body>
</svg>
Example 1138: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0225.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0225.svg>
ASK WHERE {
<foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo"), ("Bar") .
}

Test files for XHTML1+RDFa 1.1:

Example 1139: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0225.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0225</title>
</head>
<body>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
</body>
</html>
Example 1140: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0225.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0225.xhtml>
ASK WHERE {
<foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo"), ("Bar") .
}

Test files for XHTML5+RDFa 1.1:

Example 1141: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0225.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0225</title>
</head>
<body>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
</body>
</html>
Example 1142: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0225.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0225.xhtml>
ASK WHERE {
<foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> ("Foo"), ("Bar") .
}
Test 0226: confusion between multiple implicit collections (resource)

Use of @inlist with implicit subject uses different list

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1143: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0226.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0226</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</html>
Example 1144: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0226.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0226.html>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}

Test files for HTML5+RDFa 1.1:

Example 1145: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0226.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0226</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</html>
Example 1146: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0226.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0226.html>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}

Test files for SVG+RDFa 1.1:

Example 1147: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0226.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0226</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</svg>
Example 1148: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0226.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0226.svg>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}

Test files for XHTML1+RDFa 1.1:

Example 1149: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0226.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0226</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</html>
Example 1150: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0226.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0226.xhtml>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}

Test files for XHTML5+RDFa 1.1:

Example 1151: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0226.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0226</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</html>
Example 1152: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0226.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0226.xhtml>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}
Test 0227: confusion between multiple implicit collections (about)

Use of @inlist with implicit subject uses different list

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1153: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0227.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0227</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</html>
Example 1154: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0227.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0227.html>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}

Test files for HTML5+RDFa 1.1:

Example 1155: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0227.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0227</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</html>
Example 1156: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0227.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0227.html>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}

Test files for SVG+RDFa 1.1:

Example 1157: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0227.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0227</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</svg>
Example 1158: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0227.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0227.svg>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}

Test files for XHTML1+RDFa 1.1:

Example 1159: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0227.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0227</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</html>
Example 1160: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0227.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0227.xhtml>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}

Test files for XHTML5+RDFa 1.1:

Example 1161: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0227.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0227</title>
</head>
<body prefix="ex: http://www.example.org/">
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="ex:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
</body>
</html>
Example 1162: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0227.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0227.xhtml>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ex: <http://www.example.org/>
ASK WHERE {
<> rdf:value ("Foo");
ex:inlist <res> .
<res> rdf:value ("Bar") .
}
Test 0228: 1.1 alternate for test 0040: @rev - @src/@resource test

@src is a lower priority than @resource

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1163: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0228.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0228</title>
<!-- Based on 1.1 semantics for 0040 -->
</head>
<body>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 1164: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0228.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2006_03.jpg> <http://www.w3.org/1999/xhtml/vocab#alternate> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0228.html> .
}

Test files for HTML5+RDFa 1.1:

Example 1165: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0228.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0228</title>
<!-- Based on 1.1 semantics for 0040 -->
</head>
<body>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 1166: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0228.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2006_03.jpg> <http://www.w3.org/1999/xhtml/vocab#alternate> <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0228.html> .
}

Test files for XHTML1+RDFa 1.1:

Example 1167: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0228.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0228</title>
<!-- Based on 1.1 semantics for 0040 -->
</head>
<body>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 1168: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0228.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2006_03.jpg> <http://www.w3.org/1999/xhtml/vocab#alternate> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0228.xhtml> .
}

Test files for XHTML5+RDFa 1.1:

Example 1169: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0228.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0228</title>
<!-- Based on 1.1 semantics for 0040 -->
</head>
<body>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 1170: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0228.sparql
ASK WHERE {
<http://sw-app.org/img/mic_2006_03.jpg> <http://www.w3.org/1999/xhtml/vocab#alternate> <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0228.xhtml> .
}
Test 0229: img[@src] test with omitted @about

Tests if a @src (in img element) does not set the URIref object (with omitted @about) -- from 0042

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1171: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0229.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0042</title>
</head>
<body>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 1172: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0229.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0229.html> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}

Test files for HTML5+RDFa 1.1:

Example 1173: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0229.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0042</title>
</head>
<body>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 1174: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0229.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0229.html> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}

Test files for XHTML1+RDFa 1.1:

Example 1175: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0229.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0042</title>
</head>
<body>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 1176: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0229.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0229.xhtml> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}

Test files for XHTML5+RDFa 1.1:

Example 1177: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0229.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0042</title>
</head>
<body>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</html>
Example 1178: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0229.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0229.xhtml> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}

Test files for XML+RDFa 1.1:

Example 1179: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0229.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0042</title>
</head>
<body>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
</body>
</root>
Example 1180: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0229.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0229.xml> <http://xmlns.com/foaf/0.1/img> <http://sw-app.org/img/mic_2007_01.jpg> .
}
Test 0230: @src does not set a new subject (@rel/@href)

Tests to ensure that @src does not set a new subject (oposite of 0090 for 1.0).

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1181: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0230.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0230</title>
</head>
<body>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
</body>
</html>
Example 1182: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0230.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0230.html> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nc-sa/2.0/> .
}

Test files for HTML5+RDFa 1.1:

Example 1183: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0230.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0230</title>
</head>
<body>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
</body>
</html>
Example 1184: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0230.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0230.html> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nc-sa/2.0/> .
}

Test files for XHTML1+RDFa 1.1:

Example 1185: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0230.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0230</title>
</head>
<body>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
</body>
</html>
Example 1186: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0230.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0230.xhtml> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nc-sa/2.0/> .
}

Test files for XHTML5+RDFa 1.1:

Example 1187: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0230.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0230</title>
</head>
<body>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
</body>
</html>
Example 1188: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0230.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0230.xhtml> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nc-sa/2.0/> .
}
Test 0231: Set image license information

Tests new behavior of @src in 1.1

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1189: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0231.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0231</title>
</head>
<body>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
</body>
</html>
Example 1190: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0231.sparql
ASK WHERE {
<http://example.org/example.png> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nc-sa/2.0/> .
}

Test files for HTML5+RDFa 1.1:

Example 1191: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0231.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0231</title>
</head>
<body>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
</body>
</html>
Example 1192: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0231.sparql
ASK WHERE {
<http://example.org/example.png> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nc-sa/2.0/> .
}

Test files for XHTML1+RDFa 1.1:

Example 1193: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0231.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0231</title>
</head>
<body>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
</body>
</html>
Example 1194: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0231.sparql
ASK WHERE {
<http://example.org/example.png> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nc-sa/2.0/> .
}

Test files for XHTML5+RDFa 1.1:

Example 1195: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0231.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0231</title>
</head>
<body>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
</body>
</html>
Example 1196: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0231.sparql
ASK WHERE {
<http://example.org/example.png> <http://www.w3.org/1999/xhtml/vocab#license> <http://creativecommons.org/licenses/by-nc-sa/2.0/> .
}
Test 0232: @typeof with @rel present, no @href, @resource, or @about (1.1 behavior of 0046);

Tests @typeof with @rel present, no @href, @resource, or @about creates a BNode object

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1197: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0232.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0232</title>
</head>
<body>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 1198: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0232.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0232.html>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<> foaf:maker ?a .
?a a foaf:Person;
foaf:name "John Doe" .
FILTER ( isBlank(?a) )
}

Test files for HTML5+RDFa 1.1:

Example 1199: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0232.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0232</title>
</head>
<body>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 1200: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0232.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0232.html>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<> foaf:maker ?a .
?a a foaf:Person;
foaf:name "John Doe" .
FILTER ( isBlank(?a) )
}

Test files for XHTML1+RDFa 1.1:

Example 1201: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0232.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0232</title>
</head>
<body>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 1202: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0232.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0232.xhtml>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<> foaf:maker ?a .
?a a foaf:Person;
foaf:name "John Doe" .
FILTER ( isBlank(?a) )
}

Test files for XHTML5+RDFa 1.1:

Example 1203: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0232.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0232</title>
</head>
<body>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 1204: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0232.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0232.xhtml>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<> foaf:maker ?a .
?a a foaf:Person;
foaf:name "John Doe" .
FILTER ( isBlank(?a) )
}
Test 0233: @typeof with @rel and @resource present, no @about (1.1 behavior of 0047)

Tests @typeof with @rel and @resource present, no @about adds type to object

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1205: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0233.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0233</title>
</head>
<body>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 1206: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0233.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0233.html>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<> foaf:maker <http://www.example.org/#me> .
<http://www.example.org/#me> a foaf:Person;
foaf:name "John Doe" .
}

Test files for HTML5+RDFa 1.1:

Example 1207: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0233.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0233</title>
</head>
<body>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 1208: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0233.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0233.html>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<> foaf:maker <http://www.example.org/#me> .
<http://www.example.org/#me> a foaf:Person;
foaf:name "John Doe" .
}

Test files for XHTML1+RDFa 1.1:

Example 1209: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0233.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0233</title>
</head>
<body>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 1210: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0233.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0233.xhtml>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<> foaf:maker <http://www.example.org/#me> .
<http://www.example.org/#me> a foaf:Person;
foaf:name "John Doe" .
}

Test files for XHTML5+RDFa 1.1:

Example 1211: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0233.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0233</title>
</head>
<body>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>
Example 1212: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0233.sparql
BASE <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0233.xhtml>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<> foaf:maker <http://www.example.org/#me> .
<http://www.example.org/#me> a foaf:Person;
foaf:name "John Doe" .
}
Test 0234: All defined HTML link relation values

Tests to ensure that all defined linked relations expand

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1213: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0234.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0234</title>
</head>
<body>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
</body>
</html>
Example 1214: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0234.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
PREFIX powder: <http://www.w3.org/2007/05/powder-s#>
PREFIX ex: <http://example.org/>
ASK WHERE {
?s powder:describedby ex:describedby;
xhv:license ex:license;
xhv:role ex:role
}

Test files for HTML5+RDFa 1.1:

Example 1215: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0234.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0234</title>
</head>
<body>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
</body>
</html>
Example 1216: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0234.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
PREFIX powder: <http://www.w3.org/2007/05/powder-s#>
PREFIX ex: <http://example.org/>
ASK WHERE {
?s powder:describedby ex:describedby;
xhv:license ex:license;
xhv:role ex:role
}

Test files for SVG+RDFa 1.1:

Example 1217: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0234.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0234</title>
</head>
<body>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
</body>
</svg>
Example 1218: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0234.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
PREFIX powder: <http://www.w3.org/2007/05/powder-s#>
PREFIX ex: <http://example.org/>
ASK WHERE {
?s powder:describedby ex:describedby;
xhv:license ex:license;
xhv:role ex:role
}

Test files for XHTML1+RDFa 1.1:

Example 1219: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0234.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0234</title>
</head>
<body>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
</body>
</html>
Example 1220: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0234.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
PREFIX powder: <http://www.w3.org/2007/05/powder-s#>
PREFIX ex: <http://example.org/>
ASK WHERE {
?s powder:describedby ex:describedby;
xhv:license ex:license;
xhv:role ex:role
}

Test files for XHTML5+RDFa 1.1:

Example 1221: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0234.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0234</title>
</head>
<body>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
</body>
</html>
Example 1222: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0234.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
PREFIX powder: <http://www.w3.org/2007/05/powder-s#>
PREFIX ex: <http://example.org/>
ASK WHERE {
?s powder:describedby ex:describedby;
xhv:license ex:license;
xhv:role ex:role
}
Test 0235: rdfagraph='processor' does not generate standard triples

Setting rdfagraph query parameter to 'processor' does not output standard triples

Expected query to return false

Test files for XML+RDFa 1.1 Processor Graph:

Example 1223: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0235.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0235</title>
</head>
<body>
<p>
The <span property="dc:title">rdfagraph</span> should not generate triples when
looking only at the processor graph.
</p>
</body>
</root>
Example 1224: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0235.sparql
PREFIX dc: <http://purl.org/dc/terms/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml> dc:title "rdfagraph" .
}
Test 0236: rdfagraph='processor' with a markup error generates rdfa:Error

Setting rdfagraph query parameter to 'processor' generates an rdf:Error

Expected query to return true

Test files for XML+RDFa 1.1 Processor Graph:

Example 1225: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0236.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0236</title>
</head>
<body which is not closed should generate a processor error</root>
Example 1226: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0236.sparql
PREFIX rdfa: <http://www.w3.org/ns/rdfa#>
ASK WHERE { ?s a rdfa:Error }
Test 0237: rdfagraph='processor' with invalid SafeCURIE generates rdfa:Warning

Setting rdfagraph query parameter to 'processor' generates an rdf:Warning when given a SafeCURIE with an invalid prefix.

Expected query to return true

Test files for XML+RDFa 1.1 Processor Graph:

Example 1227: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0237.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0237</title>
</head>
<body prefix="$malformed http://example.com"
property="rdf:value"
resource="[$malformed:curie]">
Malformed Prefix
</body>
</root>
Example 1228: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0237.sparql
PREFIX rdfa: <http://www.w3.org/ns/rdfa#>
ASK WHERE { ?s a rdfa:UnresolvedCURIE }
Test 0238: rdfagraph='processor' with missing Term definition generates rdfa:Warning

Setting rdfagraph query parameter to 'processor' generates an rdf:Warning when given a missing Term definition.

Expected query to return true

Test files for XML+RDFa 1.1 Processor Graph:

Example 1229: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0238.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0238</title>
</head>
<body property="undefined_term">
Undefined Term
</body>
</root>
Example 1230: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0238.sparql
PREFIX rdfa: <http://www.w3.org/ns/rdfa#>
ASK WHERE { ?s a rdfa:UnresolvedTerm }
Test 0239: rdfagraph='processor' with undefined prefix generates rdfa:Warning

Setting rdfagraph query parameter to 'processor' generates an rdf:Warning when given a SafeCURIE with an undefined prefix.

Expected query to return true

Test files for XML+RDFa 1.1 Processor Graph:

Example 1231: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0239.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0239</title>
</head>
<body property="rdf:value"
resource="[undefined:curie]">
Undefined Prefix
</body>
</root>
Example 1232: http://rdfa.info/test-suite/test-cases/rdfa1.1-proc/xml/0239.sparql
PREFIX rdfa: <http://www.w3.org/ns/rdfa#>
ASK WHERE { ?s a rdfa:UnresolvedCURIE }
Test 0240: vocab_expansion='true' expands sub-property

A property having an rdfs:subPropertyOf relationship defined in an in-use vocabulary causes triples to be added to the referenced property.

Expected query to return true

Test files for XML+RDFa 1.1 Vocabulary:

Example 1233: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0240.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0240</title>
</head>
<body prefix="rdfatest: http://rdfa.info/vocabs/rdfa-test#" vocab="http://rdfa.info/vocabs/rdfa-test#">
Using the property <code property="subProp" resource="rdfatest:subProp">subProp</code>
should cause a triple with <code>baseProp</code> to be added.
</body>
</root>
Example 1234: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0240.sparql
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
?s rdfatest:subProp rdfatest:subProp;
rdfatest:baseProp rdfatest:subProp
}
Test 0241: vocab_expansion='true' expands equivalent-property

A property having an owl:equivalentProperty relationship defined in an in-use vocabulary causes triples to be added to the referenced property.

Expected query to return true

Test files for XML+RDFa 1.1 Vocabulary:

Example 1235: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0241.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0241</title>
</head>
<body prefix="rdfatest: http://rdfa.info/vocabs/rdfa-test#" vocab="http://rdfa.info/vocabs/rdfa-test#">
Using the property <code property="eqProp" resource="rdfatest:eqProp">eqProp</code>
should cause a triple with <code>baseProp</code> to be added.
</body>
</root>
Example 1236: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0241.sparql
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
?s rdfatest:eqProp rdfatest:eqProp;
rdfatest:baseProp rdfatest:eqProp
}
Test 0242: vocab_expansion='true' expands referenced equivalent-property

A property which is the target of another property having an owl:equivalentProperty relationship defined in an in-use vocabulary causes triples to be added to the defining property.

Expected query to return true

Test files for XML+RDFa 1.1 Vocabulary:

Example 1237: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0242.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0242</title>
</head>
<body prefix="rdfatest: http://rdfa.info/vocabs/rdfa-test#" vocab="http://rdfa.info/vocabs/rdfa-test#">
Using the property <code property="baseProp" resource="rdfatest:eqProp">eqProp</code>
should cause a triple with <code>eqProp</code> to be added.
</body>
</root>
Example 1238: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0242.sparql
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
?s rdfatest:eqProp rdfatest:eqProp;
rdfatest:baseProp rdfatest:eqProp
}
Test 0243: vocab_expansion='true' expands sub-class

A property having an rdfs:subClassOf relationship defined in an in-use vocabulary causes triples to be added to the referenced class.

Expected query to return true

Test files for XML+RDFa 1.1 Vocabulary:

Example 1239: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0243.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0243</title>
</head>
<body prefix="rdfatest: http://rdfa.info/vocabs/rdfa-test#" vocab="http://rdfa.info/vocabs/rdfa-test#">
Using the type <code about="_:a" typeof="SubClass">SubClass</code>
should cause a triple with <code>BaseClass</code> to be added.
</body>
</root>
Example 1240: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0243.sparql
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
?s a rdfatest:SubClass, rdfatest:BaseClass
}
Test 0244: vocab_expansion='true' expands equivalent-class

A class having an owl:equivalentClass relationship defined in an in-use vocabulary causes triples to be added to the referenced class.

Expected query to return true

Test files for XML+RDFa 1.1 Vocabulary:

Example 1241: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0244.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0244</title>
</head>
<body prefix="rdfatest: http://rdfa.info/vocabs/rdfa-test#" vocab="http://rdfa.info/vocabs/rdfa-test#">
Using the type <code about="_:a" typeof="EqClass">EqClass</code>
should cause a triple with <code>BaseClass</code> to be added.
</body>
</root>
Example 1242: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0244.sparql
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
?s a rdfatest:EqClass, rdfatest:BaseClass
}
Test 0245: vocab_expansion='true' expands referenced equivalent-class

A class which is the target of another class having an owl:equivalentClass relationship defined in an in-use vocabulary causes triples to be added to the defining class.

Expected query to return true

Test files for XML+RDFa 1.1 Vocabulary:

Example 1243: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0245.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0245</title>
</head>
<body prefix="rdfatest: http://rdfa.info/vocabs/rdfa-test#" vocab="http://rdfa.info/vocabs/rdfa-test#">
Using the type <code about="_:a" typeof="BaseClass">BaseClass</code>
should cause a triple with <code>EqClass</code> to be added.
</body>
</root>
Example 1244: http://rdfa.info/test-suite/test-cases/rdfa1.1-vocab/xml/0245.sparql
PREFIX rdfatest: <http://rdfa.info/vocabs/rdfa-test#>
ASK WHERE {
?s a rdfatest:EqClass, rdfatest:BaseClass
}
Test 0246: hanging @rel creates multiple triples, @typeof permutation; RDFa 1.1 version

Tests if hanging @rel creates multiple triples with @typeof permutation

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1245: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0246.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0246</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
<p typeof="foaf:Person"><span property="foaf:name">Ivan Herman</span></p>
</div>
</body>
</html>
Example 1246: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0246.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for HTML5+RDFa 1.1:

Example 1247: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0246.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0246</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
<p typeof="foaf:Person"><span property="foaf:name">Ivan Herman</span></p>
</div>
</body>
</html>
Example 1248: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0246.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML1+RDFa 1.1:

Example 1249: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0246.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0246</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
<p typeof="foaf:Person"><span property="foaf:name">Ivan Herman</span></p>
</div>
</body>
</html>
Example 1250: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0246.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML5+RDFa 1.1:

Example 1251: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0246.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0246</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
<p typeof="foaf:Person"><span property="foaf:name">Ivan Herman</span></p>
</div>
</body>
</html>
Example 1252: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0246.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XML+RDFa 1.1:

Example 1253: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0246.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0246</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
<p typeof="foaf:Person"><span property="foaf:name">Ivan Herman</span></p>
</div>
</body>
</root>
Example 1254: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0246.sparql
ASK WHERE {
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#ben> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?a <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
FILTER ( isBlank(?a) && isBlank(?b) )
}
Test 0247: Multiple incomplete triples, RDFa 1.1version

Tests multiple ways of handling incomplete triples; the first two triples should use the same bnode as subject ('merged'). The third should have a separate bNode.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1255: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0247.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0247</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1256: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0247.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
[ <http://xmlns.com/foaf/0.1/name> "Ivan Herman";
<http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> ],
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Mark Birbeck" ] .
}

Test files for HTML5+RDFa 1.1:

Example 1257: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0247.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0247</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1258: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0247.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
[ <http://xmlns.com/foaf/0.1/name> "Ivan Herman";
<http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> ],
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Mark Birbeck" ] .
}

Test files for XHTML1+RDFa 1.1:

Example 1259: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0247.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0247</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1260: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0247.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
[ <http://xmlns.com/foaf/0.1/name> "Ivan Herman";
<http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> ],
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Mark Birbeck" ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1261: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0247.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0247</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1262: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0247.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
[ <http://xmlns.com/foaf/0.1/name> "Ivan Herman";
<http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> ],
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Mark Birbeck" ] .
}

Test files for XML+RDFa 1.1:

Example 1263: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0247.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0247</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</root>
Example 1264: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0247.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows>
[ <http://xmlns.com/foaf/0.1/name> "Ivan Herman";
<http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> ],
[ <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Mark Birbeck" ] .
}
Test 0248: multiple ways of handling incomplete triples (with @rev); RDFa 1.1 version

Tests multiple ways of handling incomplete triples, this time with @rev

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1265: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0248.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0248</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1266: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0248.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for HTML5+RDFa 1.1:

Example 1267: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0248.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0248</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1268: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0248.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML1+RDFa 1.1:

Example 1269: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0248.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0248</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1270: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0248.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML5+RDFa 1.1:

Example 1271: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0248.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0248</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1272: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0248.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XML+RDFa 1.1:

Example 1273: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0248.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0248</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</root>
Example 1274: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0248.sparql
ASK WHERE {
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}
Test 0249: multiple ways of handling incomplete triples (with @rel and @rev); RDFa 1.1 version

Tests multiple ways of handling incomplete triples, this time with both @rel and @rev

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1275: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0249.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0249</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1276: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0249.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for HTML5+RDFa 1.1:

Example 1277: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0249.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0249</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1278: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0249.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML1+RDFa 1.1:

Example 1279: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0249.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0249</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1280: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0249.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XHTML5+RDFa 1.1:

Example 1281: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0249.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0249</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</html>
Example 1282: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0249.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}

Test files for XML+RDFa 1.1:

Example 1283: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0249.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0249</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
</div>
</body>
</root>
Example 1284: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0249.sparql
ASK WHERE {
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?a .
<http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> ?b .
?a <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?a <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> .
?a <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
?b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
?b <http://xmlns.com/foaf/0.1/knows> <http://www.example.org/#somebody> .
?b <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" .
FILTER ( isBlank(?a) && isBlank(?b) )
}
Test 0250: Checking the right behaviour of @typeof with @about, in presence of @property

Tests that @typeof is clearly bound to @about, and @property therefore creates a Literal object

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1285: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0250.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0250</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<p about ="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</body>
</html>
Example 1286: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0250.sparql
ASK WHERE {
<http://www.ivan-herman.net/foaf#me> a <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for HTML5+RDFa 1.1:

Example 1287: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0250.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0250</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<p about ="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</body>
</html>
Example 1288: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0250.sparql
ASK WHERE {
<http://www.ivan-herman.net/foaf#me> a <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML1+RDFa 1.1:

Example 1289: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0250.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0250</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<p about ="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</body>
</html>
Example 1290: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0250.sparql
ASK WHERE {
<http://www.ivan-herman.net/foaf#me> a <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XHTML5+RDFa 1.1:

Example 1291: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0250.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0250</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<p about ="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</body>
</html>
Example 1292: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0250.sparql
ASK WHERE {
<http://www.ivan-herman.net/foaf#me> a <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}

Test files for XML+RDFa 1.1:

Example 1293: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0250.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0250</title>
</head>
<body prefix="foaf: http://xmlns.com/foaf/0.1/">
<p about ="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</body>
</root>
Example 1294: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0250.sparql
ASK WHERE {
<http://www.ivan-herman.net/foaf#me> a <http://xmlns.com/foaf/0.1/Person>;
<http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
}
Test 0251: lang

Tests lang

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1295: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0251.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" prefix="ex: http://example.org/">
<head about="">
<title>Test 251</title>
<meta about="http://example.org/node" property="ex:property" lang="fr" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1296: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0251.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}

Test files for HTML5+RDFa 1.1:

Example 1297: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0251.html
<!DOCTYPE html>
<html prefix="ex: http://example.org/">
<head about="">
<title>Test 251</title>
<meta about="http://example.org/node" property="ex:property" lang="fr" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1298: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0251.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}

Test files for XHTML1+RDFa 1.1:

Example 1299: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0251.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" prefix="ex: http://example.org/">
<head about="">
<title>Test 251</title>
<meta about="http://example.org/node" property="ex:property" lang="fr" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1300: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0251.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}

Test files for XHTML5+RDFa 1.1:

Example 1301: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0251.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix="ex: http://example.org/">
<head about="">
<title>Test 251</title>
<meta about="http://example.org/node" property="ex:property" lang="fr" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1302: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0251.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}
Test 0252: lang inheritance

Tests lang inheritance

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1303: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0252.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" prefix="ex: http://example.org/">
<head about="" lang="fr">
<title lang="en">Test 0252</title>
<meta about="http://example.org/node" property="ex:property" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1304: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0252.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}

Test files for HTML5+RDFa 1.1:

Example 1305: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0252.html
<!DOCTYPE html>
<html prefix="ex: http://example.org/">
<head about="" lang="fr">
<title lang="en">Test 0252</title>
<meta about="http://example.org/node" property="ex:property" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1306: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0252.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}

Test files for XHTML1+RDFa 1.1:

Example 1307: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0252.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" prefix="ex: http://example.org/">
<head about="" lang="fr">
<title lang="en">Test 0252</title>
<meta about="http://example.org/node" property="ex:property" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1308: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0252.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}

Test files for XHTML5+RDFa 1.1:

Example 1309: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0252.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix="ex: http://example.org/">
<head about="" lang="fr">
<title lang="en">Test 0252</title>
<meta about="http://example.org/node" property="ex:property" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1310: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0252.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}
Test 0253: plain literal with datatype="" and lang preservation

Checks to make sure that the RDFa parser emits a plain literal when the datatype is specified as "" and preserves the xml:lang value. The text, with control characters and whitespace preserved, reads "Greek white space ".

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1311: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0253.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" prefix="ex: http://example.org/">
<head>
<title>Test 0108</title>
</head>
<body>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
</body>
</html>
Example 1312: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0253.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "ελληνικό\nάσπρο διάστημα\n"@el .
}

Test files for HTML5+RDFa 1.1:

Example 1313: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0253.html
<!DOCTYPE html>
<html prefix="ex: http://example.org/">
<head>
<title>Test 0108</title>
</head>
<body>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
</body>
</html>
Example 1314: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0253.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "ελληνικό\nάσπρο διάστημα\n"@el .
}

Test files for XHTML1+RDFa 1.1:

Example 1315: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0253.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" prefix="ex: http://example.org/">
<head>
<title>Test 0108</title>
</head>
<body>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
</body>
</html>
Example 1316: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0253.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "ελληνικό\nάσπρο διάστημα\n"@el .
}

Test files for XHTML5+RDFa 1.1:

Example 1317: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0253.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix="ex: http://example.org/">
<head>
<title>Test 0108</title>
</head>
<body>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
</body>
</html>
Example 1318: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0253.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "ελληνικό\nάσπρο διάστημα\n"@el .
}
Test 0254: @datatype="" generates plain literal in presence of child nodes

Checks to ensure that when @datatype="" is used on an element that contains child nodes, that the literal that is generated is a plain literal.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1319: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0254.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" prefix="ex: http://example.org/terms#">
<head>
<title>Test 0254</title>
<base href="http://example.org/"/>
</head>
<body lang="en">
<p property="ex:prop" datatype="">A <strong>plain literal</strong> with a lang tag.</p>
</body>
</html>
Example 1320: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0254.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "A plain literal with a lang tag."@en .
}

Test files for HTML5+RDFa 1.1:

Example 1321: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0254.html
<!DOCTYPE html>
<html prefix="ex: http://example.org/terms#">
<head>
<title>Test 0254</title>
<base href="http://example.org/"/>
</head>
<body lang="en">
<p property="ex:prop" datatype="">A <strong>plain literal</strong> with a lang tag.</p>
</body>
</html>
Example 1322: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0254.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "A plain literal with a lang tag."@en .
}

Test files for XHTML1+RDFa 1.1:

Example 1323: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0254.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" prefix="ex: http://example.org/terms#">
<head>
<title>Test 0254</title>
<base href="http://example.org/"/>
</head>
<body lang="en">
<p property="ex:prop" datatype="">A <strong>plain literal</strong> with a lang tag.</p>
</body>
</html>
Example 1324: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0254.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "A plain literal with a lang tag."@en .
}

Test files for XHTML5+RDFa 1.1:

Example 1325: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0254.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix="ex: http://example.org/terms#">
<head>
<title>Test 0254</title>
<base href="http://example.org/"/>
</head>
<body lang="en">
<p property="ex:prop" datatype="">A <strong>plain literal</strong> with a lang tag.</p>
</body>
</html>
Example 1326: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0254.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "A plain literal with a lang tag."@en .
}
Test 0255: lang="" clears language setting

Checks to ensure that when lang="" is used that any parent element language setting is cleared and a language-less literal is generated.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1327: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0255.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" prefix="ex: http://example.org/terms#">
<head>
<title>Test 0255</title>
<base href="http://example.org/"/>
</head>
<body lang="en">
<p property="ex:prop" lang="">Just a plain literal.</p>
</body>
</html>
Example 1328: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0255.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "Just a plain literal." .
<http://example.org/> <http://example.org/terms#prop> ?plain .
FILTER(lang(?plain) = "")
}

Test files for HTML5+RDFa 1.1:

Example 1329: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0255.html
<!DOCTYPE html>
<html prefix="ex: http://example.org/terms#">
<head>
<title>Test 0255</title>
<base href="http://example.org/"/>
</head>
<body lang="en">
<p property="ex:prop" lang="">Just a plain literal.</p>
</body>
</html>
Example 1330: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0255.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "Just a plain literal." .
<http://example.org/> <http://example.org/terms#prop> ?plain .
FILTER(lang(?plain) = "")
}

Test files for XHTML1+RDFa 1.1:

Example 1331: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0255.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" prefix="ex: http://example.org/terms#">
<head>
<title>Test 0255</title>
<base href="http://example.org/"/>
</head>
<body lang="en">
<p property="ex:prop" lang="">Just a plain literal.</p>
</body>
</html>
Example 1332: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0255.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "Just a plain literal." .
<http://example.org/> <http://example.org/terms#prop> ?plain .
FILTER(lang(?plain) = "")
}

Test files for XHTML5+RDFa 1.1:

Example 1333: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0255.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix="ex: http://example.org/terms#">
<head>
<title>Test 0255</title>
<base href="http://example.org/"/>
</head>
<body lang="en">
<p property="ex:prop" lang="">Just a plain literal.</p>
</body>
</html>
Example 1334: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0255.sparql
ASK WHERE {
<http://example.org/> <http://example.org/terms#prop> "Just a plain literal." .
<http://example.org/> <http://example.org/terms#prop> ?plain .
FILTER(lang(?plain) = "")
}
Test 0256: lang and xml:lang on the same element

Tests @xml:lang and @lang on the same element with different values; @xml:lang should prevail.

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 1335: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0256.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" prefix="ex: http://example.org/">
<head about="">
<title>Test 0256</title>
<meta about="http://example.org/node" property="ex:property" xml:lang="fr" lang="hu" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1336: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0256.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}

Test files for XHTML5+RDFa 1.1:

Example 1337: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0256.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix="ex: http://example.org/">
<head about="">
<title>Test 0256</title>
<meta about="http://example.org/node" property="ex:property" xml:lang="fr" lang="hu" content="chat" />
</head>
<body>
<p></p>
</body>
</html>
Example 1338: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0256.sparql
ASK WHERE {
<http://example.org/node> <http://example.org/property> "chat"@fr .
}
Test 0257: element with @property and no child nodes generates empty plain literal (HTML5 version of 0113)

Checks to make sure that an element with @property and no child nodes generates empty plain literal.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1339: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0257.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0257</title>
</head>
<body>
<span about="#a" property="dc:title"></span>
</body>
</html>
Example 1340: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0257.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0257.html#a> <http://purl.org/dc/elements/1.1/title> "" .
}

Test files for HTML5+RDFa 1.1:

Example 1341: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0257.html
<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0257</title>
</head>
<body>
<span about="#a" property="dc:title"></span>
</body>
</html>
Example 1342: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0257.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0257.html#a> <http://purl.org/dc/elements/1.1/title> "" .
}

Test files for XHTML1+RDFa 1.1:

Example 1343: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0257.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0257</title>
</head>
<body>
<span about="#a" property="dc:title"></span>
</body>
</html>
Example 1344: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0257.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0257.xhtml#a> <http://purl.org/dc/elements/1.1/title> "" .
}

Test files for XHTML5+RDFa 1.1:

Example 1345: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0257.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0257</title>
</head>
<body>
<span about="#a" property="dc:title"></span>
</body>
</html>
Example 1346: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0257.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0257.xhtml#a> <http://purl.org/dc/elements/1.1/title> "" .
}
Test 0258: The underscore character is not allowed as a prefix or in xmlns

Ensures that a prefix cannot start with an underscore character when specified using xmlns or prefix.

Expected query to return false

Test files for HTML4+RDFa 1.1:

Example 1347: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0258.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Undescore Prefix is Ignored Test</title>
</head>
<body>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
</body>
</html>
Example 1348: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0258.sparql
# This is a negative test, the triple shown below should not be generated.
PREFIX earl: <http://www.w3.org/ns/earl#>
PREFIX ex: <http://example.org/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0258.html> ?p ex:test .
}

Test files for HTML5+RDFa 1.1:

Example 1349: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0258.html
<!DOCTYPE html>
<html>
<head>
<title>Undescore Prefix is Ignored Test</title>
</head>
<body>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
</body>
</html>
Example 1350: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0258.sparql
# This is a negative test, the triple shown below should not be generated.
PREFIX earl: <http://www.w3.org/ns/earl#>
PREFIX ex: <http://example.org/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0258.html> ?p ex:test .
}

Test files for XHTML1+RDFa 1.1:

Example 1351: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0258.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Undescore Prefix is Ignored Test</title>
</head>
<body>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
</body>
</html>
Example 1352: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0258.sparql
# This is a negative test, the triple shown below should not be generated.
PREFIX earl: <http://www.w3.org/ns/earl#>
PREFIX ex: <http://example.org/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0258.xhtml> ?p ex:test .
}

Test files for XHTML5+RDFa 1.1:

Example 1353: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0258.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Undescore Prefix is Ignored Test</title>
</head>
<body>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
</body>
</html>
Example 1354: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0258.sparql
# This is a negative test, the triple shown below should not be generated.
PREFIX earl: <http://www.w3.org/ns/earl#>
PREFIX ex: <http://example.org/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0258.xhtml> ?p ex:test .
}

Test files for XML+RDFa 1.1:

Example 1355: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0258.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Undescore Prefix is Ignored Test</title>
</head>
<body>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
</body>
</root>
Example 1356: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0258.sparql
# This is a negative test, the triple shown below should not be generated.
PREFIX earl: <http://www.w3.org/ns/earl#>
PREFIX ex: <http://example.org/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0258.xml> ?p ex:test .
}
Test 0259: XML+RDFa Initial Context

All processors must load the RDFa Core Initial Context.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1357: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0259.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0259</title>
</head>
<body>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
</body></html>
Example 1358: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0259.sparql
ASK WHERE {
?s <http://www.w3.org/2003/g/data-view#> "GRDDL";
<http://www.w3.org/ns/ma-ont#> "MA";
<http://www.w3.org/2002/07/owl#> "OWL";
<http://www.w3.org/1999/02/22-rdf-syntax-ns#> "RDF";
<http://www.w3.org/ns/rdfa#> "RDFa";
<http://www.w3.org/2000/01/rdf-schema#> "RDFS";
<http://www.w3.org/2007/rif#> "RIF";
<http://www.w3.org/2004/02/skos/core#> "SKOS";
<http://www.w3.org/2008/05/skos-xl#> "SKOS-XL";
<http://www.w3.org/2007/05/powder#> "WDR";
<http://rdfs.org/ns/void#> "VOID";
<http://www.w3.org/2007/05/powder-s#> "WDRS";
<http://www.w3.org/1999/xhtml/vocab#> "XHV";
<http://www.w3.org/XML/1998/namespace> "XML";
<http://www.w3.org/2001/XMLSchema#> "XSD";

# Widely Used prefixes
<http://creativecommons.org/ns#> "CC";
<http://commontag.org/ns#> "CTAG";
<http://purl.org/dc/terms/> "DC", "DCTERMS";
<http://xmlns.com/foaf/0.1/> "FOAF";
<http://purl.org/goodrelations/v1#> "GR";
<http://www.w3.org/2002/12/cal/icaltzd#> "ICAL";
<http://ogp.me/ns#> "OG";
<http://purl.org/stuff/rev#> "REV";
<http://rdfs.org/sioc/ns#> "SIOC";
<http://rdf.data-vocabulary.org/#> "V";
<http://www.w3.org/2006/vcard/ns#> "VCARD";
<http://schema.org/> "Schema";

# Vocabulary Terms
<http://www.w3.org/2007/05/powder-s#describedby> "DescribedBy";
<http://www.w3.org/1999/xhtml/vocab#license> "License";
<http://www.w3.org/1999/xhtml/vocab#role> "Role";
}

Test files for HTML5+RDFa 1.1:

Example 1359: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0259.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0259</title>
</head>
<body>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
</body></html>
Example 1360: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0259.sparql
ASK WHERE {
?s <http://www.w3.org/2003/g/data-view#> "GRDDL";
<http://www.w3.org/ns/ma-ont#> "MA";
<http://www.w3.org/2002/07/owl#> "OWL";
<http://www.w3.org/1999/02/22-rdf-syntax-ns#> "RDF";
<http://www.w3.org/ns/rdfa#> "RDFa";
<http://www.w3.org/2000/01/rdf-schema#> "RDFS";
<http://www.w3.org/2007/rif#> "RIF";
<http://www.w3.org/2004/02/skos/core#> "SKOS";
<http://www.w3.org/2008/05/skos-xl#> "SKOS-XL";
<http://www.w3.org/2007/05/powder#> "WDR";
<http://rdfs.org/ns/void#> "VOID";
<http://www.w3.org/2007/05/powder-s#> "WDRS";
<http://www.w3.org/1999/xhtml/vocab#> "XHV";
<http://www.w3.org/XML/1998/namespace> "XML";
<http://www.w3.org/2001/XMLSchema#> "XSD";

# Widely Used prefixes
<http://creativecommons.org/ns#> "CC";
<http://commontag.org/ns#> "CTAG";
<http://purl.org/dc/terms/> "DC", "DCTERMS";
<http://xmlns.com/foaf/0.1/> "FOAF";
<http://purl.org/goodrelations/v1#> "GR";
<http://www.w3.org/2002/12/cal/icaltzd#> "ICAL";
<http://ogp.me/ns#> "OG";
<http://purl.org/stuff/rev#> "REV";
<http://rdfs.org/sioc/ns#> "SIOC";
<http://rdf.data-vocabulary.org/#> "V";
<http://www.w3.org/2006/vcard/ns#> "VCARD";
<http://schema.org/> "Schema";

# Vocabulary Terms
<http://www.w3.org/2007/05/powder-s#describedby> "DescribedBy";
<http://www.w3.org/1999/xhtml/vocab#license> "License";
<http://www.w3.org/1999/xhtml/vocab#role> "Role";
}

Test files for SVG+RDFa 1.1:

Example 1361: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0259.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0259</title>
</head>
<body>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
</body></svg>
Example 1362: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0259.sparql
ASK WHERE {
?s <http://www.w3.org/2003/g/data-view#> "GRDDL";
<http://www.w3.org/ns/ma-ont#> "MA";
<http://www.w3.org/2002/07/owl#> "OWL";
<http://www.w3.org/1999/02/22-rdf-syntax-ns#> "RDF";
<http://www.w3.org/ns/rdfa#> "RDFa";
<http://www.w3.org/2000/01/rdf-schema#> "RDFS";
<http://www.w3.org/2007/rif#> "RIF";
<http://www.w3.org/2004/02/skos/core#> "SKOS";
<http://www.w3.org/2008/05/skos-xl#> "SKOS-XL";
<http://www.w3.org/2007/05/powder#> "WDR";
<http://rdfs.org/ns/void#> "VOID";
<http://www.w3.org/2007/05/powder-s#> "WDRS";
<http://www.w3.org/1999/xhtml/vocab#> "XHV";
<http://www.w3.org/XML/1998/namespace> "XML";
<http://www.w3.org/2001/XMLSchema#> "XSD";

# Widely Used prefixes
<http://creativecommons.org/ns#> "CC";
<http://commontag.org/ns#> "CTAG";
<http://purl.org/dc/terms/> "DC", "DCTERMS";
<http://xmlns.com/foaf/0.1/> "FOAF";
<http://purl.org/goodrelations/v1#> "GR";
<http://www.w3.org/2002/12/cal/icaltzd#> "ICAL";
<http://ogp.me/ns#> "OG";
<http://purl.org/stuff/rev#> "REV";
<http://rdfs.org/sioc/ns#> "SIOC";
<http://rdf.data-vocabulary.org/#> "V";
<http://www.w3.org/2006/vcard/ns#> "VCARD";
<http://schema.org/> "Schema";

# Vocabulary Terms
<http://www.w3.org/2007/05/powder-s#describedby> "DescribedBy";
<http://www.w3.org/1999/xhtml/vocab#license> "License";
<http://www.w3.org/1999/xhtml/vocab#role> "Role";
}

Test files for XHTML1+RDFa 1.1:

Example 1363: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0259.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0259</title>
</head>
<body>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
</body></html>
Example 1364: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0259.sparql
ASK WHERE {
?s <http://www.w3.org/2003/g/data-view#> "GRDDL";
<http://www.w3.org/ns/ma-ont#> "MA";
<http://www.w3.org/2002/07/owl#> "OWL";
<http://www.w3.org/1999/02/22-rdf-syntax-ns#> "RDF";
<http://www.w3.org/ns/rdfa#> "RDFa";
<http://www.w3.org/2000/01/rdf-schema#> "RDFS";
<http://www.w3.org/2007/rif#> "RIF";
<http://www.w3.org/2004/02/skos/core#> "SKOS";
<http://www.w3.org/2008/05/skos-xl#> "SKOS-XL";
<http://www.w3.org/2007/05/powder#> "WDR";
<http://rdfs.org/ns/void#> "VOID";
<http://www.w3.org/2007/05/powder-s#> "WDRS";
<http://www.w3.org/1999/xhtml/vocab#> "XHV";
<http://www.w3.org/XML/1998/namespace> "XML";
<http://www.w3.org/2001/XMLSchema#> "XSD";

# Widely Used prefixes
<http://creativecommons.org/ns#> "CC";
<http://commontag.org/ns#> "CTAG";
<http://purl.org/dc/terms/> "DC", "DCTERMS";
<http://xmlns.com/foaf/0.1/> "FOAF";
<http://purl.org/goodrelations/v1#> "GR";
<http://www.w3.org/2002/12/cal/icaltzd#> "ICAL";
<http://ogp.me/ns#> "OG";
<http://purl.org/stuff/rev#> "REV";
<http://rdfs.org/sioc/ns#> "SIOC";
<http://rdf.data-vocabulary.org/#> "V";
<http://www.w3.org/2006/vcard/ns#> "VCARD";
<http://schema.org/> "Schema";

# Vocabulary Terms
<http://www.w3.org/2007/05/powder-s#describedby> "DescribedBy";
<http://www.w3.org/1999/xhtml/vocab#license> "License";
<http://www.w3.org/1999/xhtml/vocab#role> "Role";
}

Test files for XHTML5+RDFa 1.1:

Example 1365: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0259.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0259</title>
</head>
<body>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
</body></html>
Example 1366: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0259.sparql
ASK WHERE {
?s <http://www.w3.org/2003/g/data-view#> "GRDDL";
<http://www.w3.org/ns/ma-ont#> "MA";
<http://www.w3.org/2002/07/owl#> "OWL";
<http://www.w3.org/1999/02/22-rdf-syntax-ns#> "RDF";
<http://www.w3.org/ns/rdfa#> "RDFa";
<http://www.w3.org/2000/01/rdf-schema#> "RDFS";
<http://www.w3.org/2007/rif#> "RIF";
<http://www.w3.org/2004/02/skos/core#> "SKOS";
<http://www.w3.org/2008/05/skos-xl#> "SKOS-XL";
<http://www.w3.org/2007/05/powder#> "WDR";
<http://rdfs.org/ns/void#> "VOID";
<http://www.w3.org/2007/05/powder-s#> "WDRS";
<http://www.w3.org/1999/xhtml/vocab#> "XHV";
<http://www.w3.org/XML/1998/namespace> "XML";
<http://www.w3.org/2001/XMLSchema#> "XSD";

# Widely Used prefixes
<http://creativecommons.org/ns#> "CC";
<http://commontag.org/ns#> "CTAG";
<http://purl.org/dc/terms/> "DC", "DCTERMS";
<http://xmlns.com/foaf/0.1/> "FOAF";
<http://purl.org/goodrelations/v1#> "GR";
<http://www.w3.org/2002/12/cal/icaltzd#> "ICAL";
<http://ogp.me/ns#> "OG";
<http://purl.org/stuff/rev#> "REV";
<http://rdfs.org/sioc/ns#> "SIOC";
<http://rdf.data-vocabulary.org/#> "V";
<http://www.w3.org/2006/vcard/ns#> "VCARD";
<http://schema.org/> "Schema";

# Vocabulary Terms
<http://www.w3.org/2007/05/powder-s#describedby> "DescribedBy";
<http://www.w3.org/1999/xhtml/vocab#license> "License";
<http://www.w3.org/1999/xhtml/vocab#role> "Role";
}

Test files for XML+RDFa 1.1:

Example 1367: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0259.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0259</title>
</head>
<body>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
</body></root>
Example 1368: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0259.sparql
ASK WHERE {
?s <http://www.w3.org/2003/g/data-view#> "GRDDL";
<http://www.w3.org/ns/ma-ont#> "MA";
<http://www.w3.org/2002/07/owl#> "OWL";
<http://www.w3.org/1999/02/22-rdf-syntax-ns#> "RDF";
<http://www.w3.org/ns/rdfa#> "RDFa";
<http://www.w3.org/2000/01/rdf-schema#> "RDFS";
<http://www.w3.org/2007/rif#> "RIF";
<http://www.w3.org/2004/02/skos/core#> "SKOS";
<http://www.w3.org/2008/05/skos-xl#> "SKOS-XL";
<http://www.w3.org/2007/05/powder#> "WDR";
<http://rdfs.org/ns/void#> "VOID";
<http://www.w3.org/2007/05/powder-s#> "WDRS";
<http://www.w3.org/1999/xhtml/vocab#> "XHV";
<http://www.w3.org/XML/1998/namespace> "XML";
<http://www.w3.org/2001/XMLSchema#> "XSD";

# Widely Used prefixes
<http://creativecommons.org/ns#> "CC";
<http://commontag.org/ns#> "CTAG";
<http://purl.org/dc/terms/> "DC", "DCTERMS";
<http://xmlns.com/foaf/0.1/> "FOAF";
<http://purl.org/goodrelations/v1#> "GR";
<http://www.w3.org/2002/12/cal/icaltzd#> "ICAL";
<http://ogp.me/ns#> "OG";
<http://purl.org/stuff/rev#> "REV";
<http://rdfs.org/sioc/ns#> "SIOC";
<http://rdf.data-vocabulary.org/#> "V";
<http://www.w3.org/2006/vcard/ns#> "VCARD";
<http://schema.org/> "Schema";

# Vocabulary Terms
<http://www.w3.org/2007/05/powder-s#describedby> "DescribedBy";
<http://www.w3.org/1999/xhtml/vocab#license> "License";
<http://www.w3.org/1999/xhtml/vocab#role> "Role";
}
Test 0260: XHTML+RDFa Initial Context

XHTML+RDFa initial context.

Expected query to return true

Test files for XHTML1+RDFa 1.1:

Example 1369: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0260.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0259</title>
</head>
<body>
<div>
Vocabulary Terms
<span property="alternate">alternate</span>
<span property="appendix">appendix</span>
<span property="cite">cite</span>
<span property="bookmark">bookmark</span>
<span property="contents">contents</span>
<span property="chapter">chapter</span>
<span property="copyright">copyright</span>
<span property="first">first</span>
<span property="glossary">glossary</span>
<span property="help">help</span>
<span property="icon">icon</span>
<span property="index">index</span>
<span property="last">last</span>
<span property="license">license</span>
<span property="meta">meta</span>
<span property="next">next</span>
<span property="prev">prev</span>
<span property="previous">previous</span>
<span property="section">section</span>
<span property="start">start</span>
<span property="stylesheet">stylesheet</span>
<span property="subsection">subsection</span>
<span property="top">top</span>
<span property="up">up</span>
<span property="p3pv1">p3pv1</span>
</div>
</body></html>
Example 1370: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0260.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>

ASK WHERE {
[
# Vocabulary Terms
xhv:alternate "alternate";
xhv:appendix "appendix";
xhv:cite "cite";
xhv:bookmark "bookmark";
xhv:contents "contents";
xhv:chapter "chapter";
xhv:copyright "copyright";
xhv:first "first";
xhv:glossary "glossary";
xhv:help "help";
xhv:icon "icon";
xhv:index "index";
xhv:last "last";
xhv:license "license";
xhv:meta "meta";
xhv:next "next";
xhv:prev "prev";
xhv:previous "previous";
xhv:section "section";
xhv:start "start";
xhv:stylesheet "stylesheet";
xhv:subsection "subsection";
xhv:top "top";
xhv:up "up";

# Other terms
xhv:p3pv1 "p3pv1"
]
}
Test 0261: White space preservation in XMLLiteral

Whitespace must be maintained in an XMLLiteral, too

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1371: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0261.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0261</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
</body>
</html>
Example 1372: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0261.sparql
ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> """This is
an XMLLiteral"""^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
}

Test files for HTML5+RDFa 1.1:

Example 1373: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0261.html
<!DOCTYPE html>
<html xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0261</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
</body>
</html>
Example 1374: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0261.sparql
ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> """This is
an XMLLiteral"""^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
}

Test files for XHTML1+RDFa 1.1:

Example 1375: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0261.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0261</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
</body>
</html>
Example 1376: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0261.sparql
ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> """This is
an XMLLiteral"""^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
}

Test files for XHTML5+RDFa 1.1:

Example 1377: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0261.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0261</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
</body>
</html>
Example 1378: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0261.sparql
ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> """This is
an XMLLiteral"""^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
}

Test files for XML+RDFa 1.1:

Example 1379: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0261.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:ex="http://example.org/rdf/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0261</title>
</head>
<body>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
</body>
</root>
Example 1380: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0261.sparql
ASK WHERE {
<http://www.example.org> <http://example.org/rdf/xmllit> """This is
an XMLLiteral"""^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
}
Test 0262: Predicate establishment with @property, with white spaces before and after the attribute value

Tests @property to establish the predicate; literal object is in the content of the element. There are extra whitespaces before and after the property attribute value which should be ignored

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1381: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0262.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0262</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
</body>
</html>
Example 1382: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0262.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for HTML5+RDFa 1.1:

Example 1383: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0262.html
<!DOCTYPE html>
<html xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0262</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
</body>
</html>
Example 1384: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0262.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML1+RDFa 1.1:

Example 1385: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0262.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0262</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
</body>
</html>
Example 1386: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0262.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XHTML5+RDFa 1.1:

Example 1387: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0262.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0262</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
</body>
</html>
Example 1388: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0262.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}

Test files for XML+RDFa 1.1:

Example 1389: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0262.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dc="http://purl.org/dc/elements/1.1/">
<head>
<title>Test 0262</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
</body>
</root>
Example 1390: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0262.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/photo1.jpg> <http://purl.org/dc/elements/1.1/creator> "Mark Birbeck" .
}
Test 0263: @property appearing on the html element yields the base as the subject

@property appearing on the html element without @content or @datatype yields the base as the subject

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1391: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0263.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" property="rdfs:seeAlso" resource="http://www.example.org">
<head >
<title>Test 0263</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1392: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0263.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0263.html> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for HTML5+RDFa 1.1:

Example 1393: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0263.html
<!DOCTYPE html>
<html property="rdfs:seeAlso" resource="http://www.example.org">
<head >
<title>Test 0263</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1394: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0263.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0263.html> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for XHTML1+RDFa 1.1:

Example 1395: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0263.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" property="rdfs:seeAlso" resource="http://www.example.org">
<head >
<title>Test 0263</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1396: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0263.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0263.xhtml> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for XHTML5+RDFa 1.1:

Example 1397: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0263.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" property="rdfs:seeAlso" resource="http://www.example.org">
<head >
<title>Test 0263</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1398: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0263.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0263.xhtml> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for XML+RDFa 1.1:

Example 1399: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0263.xml
<?xml version="1.0" encoding="UTF-8"?>
<root property="rdfs:seeAlso" resource="http://www.example.org">
<head >
<title>Test 0263</title>
</head>
<body>
<p> </p>
</body>
</root>
Example 1400: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0263.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0263.xml> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}
Test 0264: @property appearing on the head element gets the subject from , ie, parent

@property appearing on the head element gets the subject from , ie, parent

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1401: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0264.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0264</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1402: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0264.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0264.html> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for HTML5+RDFa 1.1:

Example 1403: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0264.html
<!DOCTYPE html>
<html>
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0264</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1404: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0264.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0264.html> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for XHTML1+RDFa 1.1:

Example 1405: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0264.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0264</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1406: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0264.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0264.xhtml> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for XHTML5+RDFa 1.1:

Example 1407: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0264.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0264</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1408: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0264.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0264.xhtml> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for XML+RDFa 1.1:

Example 1409: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0264.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0264</title>
</head>
<body>
<p> </p>
</body>
</root>
Example 1410: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0264.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0264.xml> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}
Test 0265: @property appearing on the head element gets the subject from , ie, parent

@property appearing on the head element gets the subject from , ie, parent; in this case the parent subject is explicitly set via @about

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1411: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0265.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" about="http://www.example.com">
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0265</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1412: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0265.sparql
ASK WHERE {
<http://www.example.com> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for HTML5+RDFa 1.1:

Example 1413: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0265.html
<!DOCTYPE html>
<html about="http://www.example.com">
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0265</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1414: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0265.sparql
ASK WHERE {
<http://www.example.com> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for XHTML1+RDFa 1.1:

Example 1415: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0265.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" about="http://www.example.com">
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0265</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1416: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0265.sparql
ASK WHERE {
<http://www.example.com> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for XHTML5+RDFa 1.1:

Example 1417: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0265.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" about="http://www.example.com">
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0265</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1418: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0265.sparql
ASK WHERE {
<http://www.example.com> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}

Test files for XML+RDFa 1.1:

Example 1419: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0265.xml
<?xml version="1.0" encoding="UTF-8"?>
<root about="http://www.example.com">
<head property="rdfs:seeAlso" resource="http://www.example.org">
<title>Test 0265</title>
</head>
<body>
<p> </p>
</body>
</root>
Example 1420: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0265.sparql
ASK WHERE {
<http://www.example.com> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://www.example.org> .
}
Test 0266: @property without @content or @datatype, typed object set by @href and @typeof

@property without @content or @datatype, typed object set by @href and @typeof

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1421: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0266.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0266</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
</body>
</html>
Example 1422: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0266.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}

Test files for HTML5+RDFa 1.1:

Example 1423: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0266.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0266</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
</body>
</html>
Example 1424: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0266.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}

Test files for XHTML1+RDFa 1.1:

Example 1425: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0266.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0266</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
</body>
</html>
Example 1426: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0266.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}

Test files for XHTML5+RDFa 1.1:

Example 1427: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0266.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0266</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
</body>
</html>
Example 1428: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0266.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}

Test files for XML+RDFa 1.1:

Example 1429: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0266.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0266</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
</body>
</root>
Example 1430: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0266.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}
Test 0267: @property without @content or @datatype, typed object set by @resource and @typeof

@property without @content or @datatype, typed object set by @resource and @typeof

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1431: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0267.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0267</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
</body>
</html>
Example 1432: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0267.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}

Test files for HTML5+RDFa 1.1:

Example 1433: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0267.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0267</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
</body>
</html>
Example 1434: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0267.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}

Test files for XHTML1+RDFa 1.1:

Example 1435: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0267.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0267</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
</body>
</html>
Example 1436: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0267.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}

Test files for XHTML5+RDFa 1.1:

Example 1437: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0267.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0267</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
</body>
</html>
Example 1438: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0267.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}

Test files for XML+RDFa 1.1:

Example 1439: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0267.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0267</title>
</head>
<body>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
</body>
</root>
Example 1440: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0267.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.w3.org/Person/Ivan#me> owl:sameAs <http://www.ivan-herman.net/foaf#me> .
<http://www.ivan-herman.net/foaf#me> a foaf:Person .
}
Test 0268: @property without @content or @datatype, typed object set by @src and @typeof

@property without @content or @datatype, typed object set by @src and @typeof

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1441: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0268.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0268</title>
</head>
<body>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
</body>
</html>
Example 1442: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0268.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.ivan-herman.net/foaf#me> foaf:depiction <http://www.ivan-herman.net/Images/me2003-small.png> .
<http://www.ivan-herman.net/Images/me2003-small.png> a foaf:Image .
}

Test files for HTML5+RDFa 1.1:

Example 1443: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0268.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0268</title>
</head>
<body>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
</body>
</html>
Example 1444: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0268.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.ivan-herman.net/foaf#me> foaf:depiction <http://www.ivan-herman.net/Images/me2003-small.png> .
<http://www.ivan-herman.net/Images/me2003-small.png> a foaf:Image .
}

Test files for XHTML1+RDFa 1.1:

Example 1445: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0268.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0268</title>
</head>
<body>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
</body>
</html>
Example 1446: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0268.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.ivan-herman.net/foaf#me> foaf:depiction <http://www.ivan-herman.net/Images/me2003-small.png> .
<http://www.ivan-herman.net/Images/me2003-small.png> a foaf:Image .
}

Test files for XHTML5+RDFa 1.1:

Example 1447: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0268.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0268</title>
</head>
<body>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
</body>
</html>
Example 1448: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0268.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.ivan-herman.net/foaf#me> foaf:depiction <http://www.ivan-herman.net/Images/me2003-small.png> .
<http://www.ivan-herman.net/Images/me2003-small.png> a foaf:Image .
}

Test files for XML+RDFa 1.1:

Example 1449: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0268.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0268</title>
</head>
<body>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
</body>
</root>
Example 1450: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0268.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

ASK WHERE {
<http://www.ivan-herman.net/foaf#me> foaf:depiction <http://www.ivan-herman.net/Images/me2003-small.png> .
<http://www.ivan-herman.net/Images/me2003-small.png> a foaf:Image .
}
Test 0269: Use of @property in HEAD without explicit subject

@property appearing on the html element without @content or @datatype yields the base as the subject, also with @content

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1451: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0269.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" property="rdfs:comment" content="This is an RDFa test">
<head >
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1452: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0269.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0269.html> rdfs:comment "This is an RDFa test" .
}

Test files for HTML5+RDFa 1.1:

Example 1453: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0269.html
<!DOCTYPE html>
<html property="rdfs:comment" content="This is an RDFa test">
<head >
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1454: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0269.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0269.html> rdfs:comment "This is an RDFa test" .
}

Test files for XHTML1+RDFa 1.1:

Example 1455: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0269.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" property="rdfs:comment" content="This is an RDFa test">
<head >
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1456: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0269.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0269.xhtml> rdfs:comment "This is an RDFa test" .
}

Test files for XHTML5+RDFa 1.1:

Example 1457: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0269.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" property="rdfs:comment" content="This is an RDFa test">
<head >
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1458: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0269.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0269.xhtml> rdfs:comment "This is an RDFa test" .
}

Test files for XML+RDFa 1.1:

Example 1459: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0269.xml
<?xml version="1.0" encoding="UTF-8"?>
<root property="rdfs:comment" content="This is an RDFa test">
<head >
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</root>
Example 1460: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0269.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0269.xml> rdfs:comment "This is an RDFa test" .
}
Test 0271: Use of @property in HEAD with explicit parent subject via @about

@property appearing on the head element gets the subject from parent, also with @content and explicit @about at the top

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1461: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0271.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" about="http://www.example.org/">
<head property="rdfs:comment" content="This is an RDFa test">
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1462: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0271.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://www.example.org/> rdfs:comment "This is an RDFa test" .
}

Test files for HTML5+RDFa 1.1:

Example 1463: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0271.html
<!DOCTYPE html>
<html about="http://www.example.org/">
<head property="rdfs:comment" content="This is an RDFa test">
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1464: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0271.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://www.example.org/> rdfs:comment "This is an RDFa test" .
}

Test files for XHTML1+RDFa 1.1:

Example 1465: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0271.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" about="http://www.example.org/">
<head property="rdfs:comment" content="This is an RDFa test">
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1466: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0271.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://www.example.org/> rdfs:comment "This is an RDFa test" .
}

Test files for XHTML5+RDFa 1.1:

Example 1467: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0271.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" about="http://www.example.org/">
<head property="rdfs:comment" content="This is an RDFa test">
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</html>
Example 1468: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0271.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://www.example.org/> rdfs:comment "This is an RDFa test" .
}

Test files for XML+RDFa 1.1:

Example 1469: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0271.xml
<?xml version="1.0" encoding="UTF-8"?>
<root about="http://www.example.org/">
<head property="rdfs:comment" content="This is an RDFa test">
<title>Test 0269</title>
</head>
<body>
<p> </p>
</body>
</root>
Example 1470: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0271.sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK WHERE {
<http://www.example.org/> rdfs:comment "This is an RDFa test" .
}
Test 0272: time element with @datetime an xsd:date

The @datetime attribute is used when generating output with valid xsd:date.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1471: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0272.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0272</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18Z">18 March 2012</time>
</body>
</html>
Example 1472: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0272.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18Z"^^xsd:date ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1473: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0272.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0272</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18Z">18 March 2012</time>
</body>
</html>
Example 1474: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0272.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18Z"^^xsd:date ] .
}
Test 0273: time element with @datetime an xsd:time

The @datetime attribute is used when generating output with valid xsd:time.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1475: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0273.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0273</title>
</head>
<body>
<time property="rdf:value" datetime="00:00:00Z">midnight</time>
</body>
</html>
Example 1476: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0273.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "00:00:00Z"^^xsd:time ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1477: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0273.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0273</title>
</head>
<body>
<time property="rdf:value" datetime="00:00:00Z">midnight</time>
</body>
</html>
Example 1478: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0273.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "00:00:00Z"^^xsd:time ] .
}
Test 0274: time element with @datetime an xsd:dateTime

The @datetime attribute is used when generating output with valid xsd:dateTime.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1479: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0274.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0274</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
</body>
</html>
Example 1480: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0274.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18T00:00:00Z"^^xsd:dateTime ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1481: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0274.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0274</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
</body>
</html>
Example 1482: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0274.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18T00:00:00Z"^^xsd:dateTime ] .
}
Test 0275: time element with value an xsd:date

The time element value is used when generating output with valid xsd:date.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1483: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0275.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0275</title>
</head>
<body>
<time property="rdf:value">2012-03-18Z</time>
</body>
</html>
Example 1484: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0275.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18Z"^^xsd:date ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1485: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0275.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0275</title>
</head>
<body>
<time property="rdf:value">2012-03-18Z</time>
</body>
</html>
Example 1486: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0275.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18Z"^^xsd:date ] .
}
Test 0276: time element with value an xsd:time

The time element value is used when generating output with valid xsd:time.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1487: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0276.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0275</title>
</head>
<body>
<time property="rdf:value">00:00:00Z</time>
</body>
</html>
Example 1488: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0276.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "00:00:00Z"^^xsd:time ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1489: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0276.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0275</title>
</head>
<body>
<time property="rdf:value">00:00:00Z</time>
</body>
</html>
Example 1490: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0276.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "00:00:00Z"^^xsd:time ] .
}
Test 0277: time element with value an xsd:dateTime

The time element value is used when generating output with valid xsd:dateTime.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1491: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0277.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0277</title>
</head>
<body>
<time property="rdf:value">2012-03-18T00:00:00Z</time>
</body>
</html>
Example 1492: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0277.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18T00:00:00Z"^^xsd:dateTime ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1493: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0277.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0277</title>
</head>
<body>
<time property="rdf:value">2012-03-18T00:00:00Z</time>
</body>
</html>
Example 1494: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0277.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18T00:00:00Z"^^xsd:dateTime ] .
}
Test 0278: @content overrides @datetime

The @content attribute has a higher priority than @datetime.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1495: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0278.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0278</title>
</head>
<body>
<p>The value of @content has a higher priority than @datetime</p>
<time property="rdf:value" datetime="2012-03-18" content="this should be the value">18 March 2012</time>
</body>
</html>
Example 1496: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0278.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "this should be the value" ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1497: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0278.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0278</title>
</head>
<body>
<p>The value of @content has a higher priority than @datetime</p>
<time property="rdf:value" datetime="2012-03-18" content="this should be the value">18 March 2012</time>
</body>
</html>
Example 1498: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0278.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "this should be the value" ] .
}
Test 0279: @datatype used with @datetime overrides default datatype

If @datatype is specified, it must override the automatic datatype.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1499: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0279.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0279</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z" datatype="xsd:date">18 March 2012 at midnight</time>
</body>
</html>
Example 1500: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0279.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18T00:00:00Z"^^xsd:date ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1501: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0279.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0279</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z" datatype="xsd:date">18 March 2012 at midnight</time>
</body>
</html>
Example 1502: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0279.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18T00:00:00Z"^^xsd:date ] .
}
Test 0280: time element with @datetime an xsd:duration

The @datetime attribute is used when generating output with valid xsd:duration.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1503: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0280.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0280</title>
</head>
<body>
<time property="rdf:value" datetime="P2011Y06M28DT00H00M00S">2011 years 6 months 28 days</time>
</body>
</html>
Example 1504: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0280.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "P2011Y06M28DT00H00M00S"^^xsd:duration ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1505: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0280.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0280</title>
</head>
<body>
<time property="rdf:value" datetime="P2011Y06M28DT00H00M00S">2011 years 6 months 28 days</time>
</body>
</html>
Example 1506: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0280.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "P2011Y06M28DT00H00M00S"^^xsd:duration ] .
}
Test 0281: time element with @datetime an xsd:gYear

The @datetime attribute is used when generating output with valid xsd:gYear.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1507: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0281.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0281</title>
</head>
<body>
<time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
</body>
</html>
Example 1508: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0281.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012"^^xsd:gYear ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1509: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0281.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0281</title>
</head>
<body>
<time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
</body>
</html>
Example 1510: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0281.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012"^^xsd:gYear ] .
}
Test 0282: time element with @datetime an xsd:gYearMonth

The @datetime attribute is used when generating output with valid xsd:gYearMonth.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1511: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0282.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0282</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
</body>
</html>
Example 1512: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0282.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03"^^xsd:gYearMonth ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1513: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0282.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0282</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
</body>
</html>
Example 1514: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0282.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03"^^xsd:gYearMonth ] .
}
Test 0283: time element with @datetime an invalid datatype generates plain literal

If the lexical scope of @datetime does not exactly match a known datatype a plain literal is generated.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1515: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0283.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0283</title>
</head>
<body>
<time property="rdf:value"> 2012-03-18Z</time>
</body>
</html>
Example 1516: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0283.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value " 2012-03-18Z" ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1517: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0283.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0283</title>
</head>
<body>
<time property="rdf:value"> 2012-03-18Z</time>
</body>
</html>
Example 1518: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0283.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value " 2012-03-18Z" ] .
}
Test 0284: time element not matching datatype but with explicit @datatype

A time element with an unmatched value still generates a typed literal without modification given a @datatype attribute.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1519: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0284.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0284</title>
</head>
<body>
<time property="rdf:value" datatype="xsd:dateTime"> 2012-03-18Z</time>
</body>
</html>
Example 1520: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0284.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value " 2012-03-18Z"^^xsd:dateTime ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1521: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0284.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0284</title>
</head>
<body>
<time property="rdf:value" datatype="xsd:dateTime"> 2012-03-18Z</time>
</body>
</html>
Example 1522: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0284.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value " 2012-03-18Z"^^xsd:dateTime ] .
}
Test 0285: time element with @datetime an invalid datatype and in scope @lang generates plain literal with language

If no @datatype is specified and the value does not match a xsd:dateTime, xsd:date, or xsd:time pattern, a plain literal must be generated with the associated language of the node, if available.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1523: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0285.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0285</title>
</head>
<body>
<time property="rdf:value" lang="en" datetime="D-Day">
Non matching lexical value with language.
</time>
</body>
</html>
Example 1524: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0285.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
[ rdf:value "D-Day"@en ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1525: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0285.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0285</title>
</head>
<body>
<time property="rdf:value" lang="en" datetime="D-Day">
Non matching lexical value with language.
</time>
</body>
</html>
Example 1526: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0285.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
[ rdf:value "D-Day"@en ] .
}
Test 0287: time element with @datetime an xsd:dateTime with TZ offset

The @datetime attribute is used when generating output with valid xsd:dateTime and a Time Zone offset.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1527: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0287.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0287</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
</body>
</html>
Example 1528: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0287.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18T00:00:00-08:00"^^xsd:dateTime ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1529: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0287.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0287</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
</body>
</html>
Example 1530: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0287.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "2012-03-18T00:00:00-08:00"^^xsd:dateTime ] .
}
Test 0289: @href becomes subject when @property and @content are present

When @property and @content are present but @about, @rel and @rev are not, @href is used as subject.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1531: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0289.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0289</title>
</head>
<body>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</html>
Example 1532: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0289.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.org/> rdf:value "value" .
}

Test files for HTML5+RDFa 1.1:

Example 1533: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0289.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0289</title>
</head>
<body>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</html>
Example 1534: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0289.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.org/> rdf:value "value" .
}

Test files for SVG+RDFa 1.1:

Example 1535: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0289.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0289</title>
</head>
<body>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</svg>
Example 1536: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0289.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.org/> rdf:value "value" .
}

Test files for XHTML1+RDFa 1.1:

Example 1537: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0289.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0289</title>
</head>
<body>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</html>
Example 1538: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0289.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.org/> rdf:value "value" .
}

Test files for XHTML5+RDFa 1.1:

Example 1539: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0289.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0289</title>
</head>
<body>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</html>
Example 1540: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0289.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.org/> rdf:value "value" .
}

Test files for XML+RDFa 1.1:

Example 1541: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0289.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0289</title>
</head>
<body>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</root>
Example 1542: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0289.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.org/> rdf:value "value" .
}
Test 0290: @href becomes subject when @property and @datatype are present

When @property and @datatype are present but @about, @rel and @rev are not, @href is used as subject and element content is used as an object literal.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1543: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0290.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0290</title>
</head>
<body>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
</body>
</html>
Example 1544: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0290.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
#<http://example.org/> rdf:value <http://example.org/> .
<http://example.org/> rdf:value "value" .
}

Test files for HTML5+RDFa 1.1:

Example 1545: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0290.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0290</title>
</head>
<body>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
</body>
</html>
Example 1546: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0290.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
#<http://example.org/> rdf:value <http://example.org/> .
<http://example.org/> rdf:value "value" .
}

Test files for SVG+RDFa 1.1:

Example 1547: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0290.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0290</title>
</head>
<body>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
</body>
</svg>
Example 1548: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0290.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
#<http://example.org/> rdf:value <http://example.org/> .
<http://example.org/> rdf:value "value" .
}

Test files for XHTML1+RDFa 1.1:

Example 1549: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0290.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0290</title>
</head>
<body>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
</body>
</html>
Example 1550: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0290.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
#<http://example.org/> rdf:value <http://example.org/> .
<http://example.org/> rdf:value "value" .
}

Test files for XHTML5+RDFa 1.1:

Example 1551: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0290.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0290</title>
</head>
<body>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
</body>
</html>
Example 1552: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0290.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
#<http://example.org/> rdf:value <http://example.org/> .
<http://example.org/> rdf:value "value" .
}

Test files for XML+RDFa 1.1:

Example 1553: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0290.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0290</title>
</head>
<body>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
</body>
</root>
Example 1554: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0290.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
#<http://example.org/> rdf:value <http://example.org/> .
<http://example.org/> rdf:value "value" .
}
Test 0291: @href as subject overridden by @about

When @property, @datatype, @href and @about are present but @rel and @rev are not, @about is used as subject.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1555: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0291.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0291</title>
</head>
<body>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</html>
Example 1556: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0291.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value" .
}

Test files for HTML5+RDFa 1.1:

Example 1557: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0291.html
<!DOCTYPE html>
<html xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0291</title>
</head>
<body>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</html>
Example 1558: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0291.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value" .
}

Test files for SVG+RDFa 1.1:

Example 1559: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0291.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0291</title>
</head>
<body>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</svg>
Example 1560: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0291.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value" .
}

Test files for XHTML1+RDFa 1.1:

Example 1561: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0291.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0291</title>
</head>
<body>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</html>
Example 1562: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0291.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value" .
}

Test files for XHTML5+RDFa 1.1:

Example 1563: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0291.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0291</title>
</head>
<body>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</html>
Example 1564: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0291.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value" .
}

Test files for XML+RDFa 1.1:

Example 1565: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0291.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0291</title>
</head>
<body>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
</body>
</root>
Example 1566: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0291.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value" .
}
Test 0292: @about overriding @href as subject is used as parent resource

When @property, @datatype, @href and @about are present but @rel and @rev are not, @about is used as subject and is also applied to nested descriptions.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1567: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0292.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0292</title>
</head>
<body>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
</body>
</html>
Example 1568: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0292.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value one", "value two" .
}

Test files for HTML5+RDFa 1.1:

Example 1569: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0292.html
<!DOCTYPE html>
<html xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0292</title>
</head>
<body>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
</body>
</html>
Example 1570: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0292.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value one", "value two" .
}

Test files for SVG+RDFa 1.1:

Example 1571: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0292.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0292</title>
</head>
<body>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
</body>
</svg>
Example 1572: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0292.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value one", "value two" .
}

Test files for XHTML1+RDFa 1.1:

Example 1573: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0292.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0292</title>
</head>
<body>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
</body>
</html>
Example 1574: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0292.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value one", "value two" .
}

Test files for XHTML5+RDFa 1.1:

Example 1575: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0292.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0292</title>
</head>
<body>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
</body>
</html>
Example 1576: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0292.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value one", "value two" .
}

Test files for XML+RDFa 1.1:

Example 1577: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0292.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0292</title>
</head>
<body>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
</body>
</root>
Example 1578: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0292.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK WHERE {
<http://example.net/> rdf:value "value one", "value two" .
}
Test 0293: Testing the ':' character usage in a CURIE

RDFa 1.1 CURIE allows the ':' to appear in the reference part of a CURIE.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1579: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0293.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0293</title>
</head>
<body>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
</body>
</html>
Example 1580: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0293.sparql
ASK WHERE {
<http://www.example.org> <http://www.example.org/column:test> "Test" .
}

Test files for HTML5+RDFa 1.1:

Example 1581: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0293.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0293</title>
</head>
<body>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
</body>
</html>
Example 1582: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0293.sparql
ASK WHERE {
<http://www.example.org> <http://www.example.org/column:test> "Test" .
}

Test files for SVG+RDFa 1.1:

Example 1583: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0293.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0293</title>
</head>
<body>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
</body>
</svg>
Example 1584: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0293.sparql
ASK WHERE {
<http://www.example.org> <http://www.example.org/column:test> "Test" .
}

Test files for XHTML1+RDFa 1.1:

Example 1585: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0293.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0293</title>
</head>
<body>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
</body>
</html>
Example 1586: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0293.sparql
ASK WHERE {
<http://www.example.org> <http://www.example.org/column:test> "Test" .
}

Test files for XHTML5+RDFa 1.1:

Example 1587: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0293.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0293</title>
</head>
<body>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
</body>
</html>
Example 1588: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0293.sparql
ASK WHERE {
<http://www.example.org> <http://www.example.org/column:test> "Test" .
}

Test files for XML+RDFa 1.1:

Example 1589: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0293.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0293</title>
</head>
<body>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
</body>
</root>
Example 1590: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0293.sparql
ASK WHERE {
<http://www.example.org> <http://www.example.org/column:test> "Test" .
}
Test 0295: Benchmark test

Complex benchmark document.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1591: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0295.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:air="http://www.daml.org/2001/10/html/airport-ont#"
xmlns:bio="http://vocab.org/bio/0.1/"
xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:dct="http://purl.org/dc/terms/"
xmlns:earl="http://www.w3.org/ns/earl#"
xmlns:example="http://example.org/"
xmlns:ex="http://example.org/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:google="http://rdf.data-vocabulary.org/#"
xmlns:ical="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:openid="http://xmlns.openid.net/auth#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rel="http://vocab.org/relationship/"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
xmlns:rss="http://web.resource.org/rss/1.0/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:v="http://www.w3.org/2006/vcard/ns#"
xmlns:wot="http://xmlns.com/wot/0.1/"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>RDFa 1.1 Benchmark File #1</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
<p></p>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div rel="foaf:maker" typeof="foaf:Document">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Document" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
<p typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</div>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
<p>This is the first chapter in a series of chapters.</p>
<p>This is unit test #62. The next unit test is #63.</p>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
<p>This is test #66.</p>
<p>This is test #67.</p>
<p about="0067.html">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.html">Test 0070</a>.
</p>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.html">Test 0069</span>.
</p>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
<p>
<a rel="alternate" href="http://example.org/alternate">alternate</a>
<a rel="appendix" href="http://example.org/appendix">appendix</a>
<a rel="bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel="cite" href="http://example.org/cite">cite</a>
<a rel="chapter" href="http://example.org/chapter">chapter</a>
<a rel="contents" href="http://example.org/contents">contents</a>
<a rel="copyright" href="http://example.org/copyright">copyright</a>
<a rel="glossary" href="http://example.org/glossary">glossary</a>
<a rel="help" href="http://example.org/help">help</a>
<a rel="icon" href="http://example.org/icon">icon</a>
<a rel="index" href="http://example.org/index">index</a>
<a rel="last" href="http://example.org/last">last</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="meta" href="http://example.org/meta">meta</a>
<a rel="next" href="http://example.org/next">next</a>
<a rel="p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel="prev" href="http://example.org/prev">prev</a>
<a rel="role" href="http://example.org/role">role</a>
<a rel="section" href="http://example.org/section">section</a>
<a rel="subsection" href="http://example.org/subsection">subsection</a>
<a rel="start" href="http://example.org/start">start</a>
<a rel="stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel="up" href="http://example.org/up">up</a>
</p>
<p>
<span about="http://example.org/alternate" rev="alternate"
href="0077.html">alternate</span>
<span about="http://example.org/appendix" rev="appendix"
href="0077.html">appendix</span>
<span about="http://example.org/bookmark" rev="bookmark"
href="0077.html">bookmark</span>
<span about="http://example.org/cite" rev="cite"
href="0077.html">cite</span>
<span about="http://example.org/chapter" rev="chapter"
href="0077.html">chapter</span>
<span about="http://example.org/contents" rev="contents"
href="0077.html">contents</span>
<span about="http://example.org/copyright" rev="copyright"
href="0077.html">copyright</span>
<span about="http://example.org/glossary" rev="glossary"
href="0077.html">glossary</span>
<span about="http://example.org/help" rev="help"
href="0077.html">help</span>
<span about="http://example.org/icon" rev="icon"
href="0077.html">icon</span>
<span about="http://example.org/index" rev="index"
href="0077.html">index</span>
<span about="http://example.org/first" rev="first"
href="0077.html">first</span>
<span about="http://example.org/last" rev="last"
href="0077.html">last</span>
<span about="http://example.org/license" rev="license"
href="0077.html">license</span>
<span about="http://example.org/meta" rev="meta"
href="0077.html">meta</span>
<span about="http://example.org/next" rev="next"
href="0077.html">next</span>
<span about="http://example.org/p3pv1" rev="p3pv1"
href="0077.html">p3pv1</span>
<span about="http://example.org/prev" rev="prev"
href="0077.html">prev</span>
<span about="http://example.org/role" rev="role"
href="0077.html">role</span>
<span about="http://example.org/section" rev="section"
href="0077.html">section</span>
<span about="http://example.org/subsection" rev="subsection"
href="0077.html">subsection</span>
<span about="http://example.org/start" rev="start"
href="0077.html">start</span>
<span about="http://example.org/stylesheet" rev="stylesheet"
href="0077.html">stylesheet</span>
<span about="http://example.org/up" rev="up"
href="0077.html">up</span>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
<div>
<img src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
<div rel="next"></div>
<p about="http://example.org/node" property="ex:property"
datatype="" xml:lang="el">ελληνικό
άσπρο διάστημα
</p>
<!-- This a NOT a valid XHTML document (due to @xml:base) -->
<div xml:base="http://example.org/invalid/">
<p about="">This is <span property="dc:title">Test 0109</span>.</p>
</div>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
<span about="#a" property="dc:title"></span>
<span about="#b" property="dc:title" />
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.html">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase2" href="http://example.org/foo/..">Corner Case #2</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
<div>
<p about="http://example.org/">
<span about="[]" property="dc:title">Test Case 0121</span>
checks to make sure RDFa processors resolve the empty CURIE correctly.
<p resource="[]">
<span property="dc:contributor">Shane McCarron</span>
contributed to this test.
</p>
</p>
</div>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
<div id="mark" about="#mark" typeof="foaf:Person">
<h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
property="foaf:firstName">Mark</span> <span
property="foaf:surname">Birbeck</span></h2>
</div>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
<!-- @prefix should be ignored in the RDFa 1.0 case -->
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- prefix has a higher priority than xmlns, but should be ignored because version is explicitly set to 1.0 -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri/" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- The version statement should be ignored with version set to 1.0 -->
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- In RDFa 1.0, if a literal contains XML elements, and no explicit datatype is set, the result is XMLLiteral -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p>This document has a title.</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
<p>
The <span property="dc:title">rdfagraph</span> should not generate triples when
looking only at the processor graph.
</p>
<p></p>
<p></p>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
<p></p>
<span about="#a" property="dc:title"></span>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
<div>
Vocabulary Terms
<span property="alternate">alternate</span>
<span property="appendix">appendix</span>
<span property="cite">cite</span>
<span property="bookmark">bookmark</span>
<span property="contents">contents</span>
<span property="chapter">chapter</span>
<span property="copyright">copyright</span>
<span property="first">first</span>
<span property="glossary">glossary</span>
<span property="help">help</span>
<span property="icon">icon</span>
<span property="index">index</span>
<span property="last">last</span>
<span property="license">license</span>
<span property="meta">meta</span>
<span property="next">next</span>
<span property="prev">prev</span>
<span property="previous">previous</span>
<span property="section">section</span>
<span property="start">start</span>
<span property="stylesheet">stylesheet</span>
<span property="subsection">subsection</span>
<span property="top">top</span>
<span property="up">up</span>
<span property="p3pv1">p3pv1</span>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
<p> </p>
<p> </p>
<p> </p>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
<p> </p>
<p> </p>
<p> </p>
<time property="rdf:value" datetime="2012-03-18Z">18 March 2012</time>
<time property="rdf:value" datetime="00:00:00Z">midnight</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
<time property="rdf:value">2012-03-18Z</time>
<time property="rdf:value">00:00:00Z</time>
<time property="rdf:value">2012-03-18T00:00:00Z</time>
<time property="rdf:value" datetime="2012-03-18" content="not this">18 March 2012</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z" datatype="xsd:date">18 March 2012 at midnight</time>
<time property="rdf:value" datetime="P2011Y06M28DT00H00M00S">2011 years 6 months 28 days</time>
<time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
<time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
<time property="rdf:value"> 2012-03-18Z</time>
<time property="rdf:value" datatype="xsd:dateTime"> 2012-03-18Z</time>
<time property="rdf:value" lang="en" datetime="D-Day">
Non matching lexical value with language.
</time>
<data property="rdf:value" lang="lat" value="veni, vidi, vici" content="I came, I saw, I conquered">
@value overrides @content in the 'data' element.
</data>
<time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
<object property="rdf:value" data="http://example.com/"></object>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
<p>None of these triples should be generated in RDFa 1.0.</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
</div>
</body>
</html>
Example 1592: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0295.sparql
# Just test to see that some triples are generated
ASK WHERE {?s ?p ?o}

Test files for HTML5+RDFa 1.1:

Example 1593: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0295.html
<!DOCTYPE html>
<html xmlns:air="http://www.daml.org/2001/10/html/airport-ont#"
xmlns:bio="http://vocab.org/bio/0.1/"
xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:dct="http://purl.org/dc/terms/"
xmlns:earl="http://www.w3.org/ns/earl#"
xmlns:example="http://example.org/"
xmlns:ex="http://example.org/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:google="http://rdf.data-vocabulary.org/#"
xmlns:ical="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:openid="http://xmlns.openid.net/auth#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rel="http://vocab.org/relationship/"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
xmlns:rss="http://web.resource.org/rss/1.0/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:v="http://www.w3.org/2006/vcard/ns#"
xmlns:wot="http://xmlns.com/wot/0.1/"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>RDFa 1.1 Benchmark File #1</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
<p></p>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div rel="foaf:maker" typeof="foaf:Document">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Document" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
<p typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</div>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
<p>This is the first chapter in a series of chapters.</p>
<p>This is unit test #62. The next unit test is #63.</p>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
<p>This is test #66.</p>
<p>This is test #67.</p>
<p about="0067.html">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.html">Test 0070</a>.
</p>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.html">Test 0069</span>.
</p>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
<p>
<a rel="alternate" href="http://example.org/alternate">alternate</a>
<a rel="appendix" href="http://example.org/appendix">appendix</a>
<a rel="bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel="cite" href="http://example.org/cite">cite</a>
<a rel="chapter" href="http://example.org/chapter">chapter</a>
<a rel="contents" href="http://example.org/contents">contents</a>
<a rel="copyright" href="http://example.org/copyright">copyright</a>
<a rel="glossary" href="http://example.org/glossary">glossary</a>
<a rel="help" href="http://example.org/help">help</a>
<a rel="icon" href="http://example.org/icon">icon</a>
<a rel="index" href="http://example.org/index">index</a>
<a rel="last" href="http://example.org/last">last</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="meta" href="http://example.org/meta">meta</a>
<a rel="next" href="http://example.org/next">next</a>
<a rel="p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel="prev" href="http://example.org/prev">prev</a>
<a rel="role" href="http://example.org/role">role</a>
<a rel="section" href="http://example.org/section">section</a>
<a rel="subsection" href="http://example.org/subsection">subsection</a>
<a rel="start" href="http://example.org/start">start</a>
<a rel="stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel="up" href="http://example.org/up">up</a>
</p>
<p>
<span about="http://example.org/alternate" rev="alternate"
href="0077.html">alternate</span>
<span about="http://example.org/appendix" rev="appendix"
href="0077.html">appendix</span>
<span about="http://example.org/bookmark" rev="bookmark"
href="0077.html">bookmark</span>
<span about="http://example.org/cite" rev="cite"
href="0077.html">cite</span>
<span about="http://example.org/chapter" rev="chapter"
href="0077.html">chapter</span>
<span about="http://example.org/contents" rev="contents"
href="0077.html">contents</span>
<span about="http://example.org/copyright" rev="copyright"
href="0077.html">copyright</span>
<span about="http://example.org/glossary" rev="glossary"
href="0077.html">glossary</span>
<span about="http://example.org/help" rev="help"
href="0077.html">help</span>
<span about="http://example.org/icon" rev="icon"
href="0077.html">icon</span>
<span about="http://example.org/index" rev="index"
href="0077.html">index</span>
<span about="http://example.org/first" rev="first"
href="0077.html">first</span>
<span about="http://example.org/last" rev="last"
href="0077.html">last</span>
<span about="http://example.org/license" rev="license"
href="0077.html">license</span>
<span about="http://example.org/meta" rev="meta"
href="0077.html">meta</span>
<span about="http://example.org/next" rev="next"
href="0077.html">next</span>
<span about="http://example.org/p3pv1" rev="p3pv1"
href="0077.html">p3pv1</span>
<span about="http://example.org/prev" rev="prev"
href="0077.html">prev</span>
<span about="http://example.org/role" rev="role"
href="0077.html">role</span>
<span about="http://example.org/section" rev="section"
href="0077.html">section</span>
<span about="http://example.org/subsection" rev="subsection"
href="0077.html">subsection</span>
<span about="http://example.org/start" rev="start"
href="0077.html">start</span>
<span about="http://example.org/stylesheet" rev="stylesheet"
href="0077.html">stylesheet</span>
<span about="http://example.org/up" rev="up"
href="0077.html">up</span>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
<div>
<img src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
<div rel="next"></div>
<p about="http://example.org/node" property="ex:property"
datatype="" xml:lang="el">ελληνικό
άσπρο διάστημα
</p>
<!-- This a NOT a valid XHTML document (due to @xml:base) -->
<div xml:base="http://example.org/invalid/">
<p about="">This is <span property="dc:title">Test 0109</span>.</p>
</div>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
<span about="#a" property="dc:title"></span>
<span about="#b" property="dc:title" />
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.html">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase2" href="http://example.org/foo/..">Corner Case #2</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
<div>
<p about="http://example.org/">
<span about="[]" property="dc:title">Test Case 0121</span>
checks to make sure RDFa processors resolve the empty CURIE correctly.
<p resource="[]">
<span property="dc:contributor">Shane McCarron</span>
contributed to this test.
</p>
</p>
</div>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
<div id="mark" about="#mark" typeof="foaf:Person">
<h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
property="foaf:firstName">Mark</span> <span
property="foaf:surname">Birbeck</span></h2>
</div>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
<!-- @prefix should be ignored in the RDFa 1.0 case -->
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- prefix has a higher priority than xmlns, but should be ignored because version is explicitly set to 1.0 -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri/" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- The version statement should be ignored with version set to 1.0 -->
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- In RDFa 1.0, if a literal contains XML elements, and no explicit datatype is set, the result is XMLLiteral -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p>This document has a title.</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
<p>
The <span property="dc:title">rdfagraph</span> should not generate triples when
looking only at the processor graph.
</p>
<p></p>
<p></p>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
<p></p>
<span about="#a" property="dc:title"></span>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
<div>
Vocabulary Terms
<span property="alternate">alternate</span>
<span property="appendix">appendix</span>
<span property="cite">cite</span>
<span property="bookmark">bookmark</span>
<span property="contents">contents</span>
<span property="chapter">chapter</span>
<span property="copyright">copyright</span>
<span property="first">first</span>
<span property="glossary">glossary</span>
<span property="help">help</span>
<span property="icon">icon</span>
<span property="index">index</span>
<span property="last">last</span>
<span property="license">license</span>
<span property="meta">meta</span>
<span property="next">next</span>
<span property="prev">prev</span>
<span property="previous">previous</span>
<span property="section">section</span>
<span property="start">start</span>
<span property="stylesheet">stylesheet</span>
<span property="subsection">subsection</span>
<span property="top">top</span>
<span property="up">up</span>
<span property="p3pv1">p3pv1</span>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
<p> </p>
<p> </p>
<p> </p>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
<p> </p>
<p> </p>
<p> </p>
<time property="rdf:value" datetime="2012-03-18Z">18 March 2012</time>
<time property="rdf:value" datetime="00:00:00Z">midnight</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
<time property="rdf:value">2012-03-18Z</time>
<time property="rdf:value">00:00:00Z</time>
<time property="rdf:value">2012-03-18T00:00:00Z</time>
<time property="rdf:value" datetime="2012-03-18" content="not this">18 March 2012</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z" datatype="xsd:date">18 March 2012 at midnight</time>
<time property="rdf:value" datetime="P2011Y06M28DT00H00M00S">2011 years 6 months 28 days</time>
<time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
<time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
<time property="rdf:value"> 2012-03-18Z</time>
<time property="rdf:value" datatype="xsd:dateTime"> 2012-03-18Z</time>
<time property="rdf:value" lang="en" datetime="D-Day">
Non matching lexical value with language.
</time>
<data property="rdf:value" lang="lat" value="veni, vidi, vici" content="I came, I saw, I conquered">
@value overrides @content in the 'data' element.
</data>
<time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
<object property="rdf:value" data="http://example.com/"></object>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
<p>None of these triples should be generated in RDFa 1.0.</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
</div>
</body>
</html>
Example 1594: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0295.sparql
# Just test to see that some triples are generated
ASK WHERE {?s ?p ?o}

Test files for SVG+RDFa 1.1:

Example 1595: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0295.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns:air="http://www.daml.org/2001/10/html/airport-ont#"
xmlns:bio="http://vocab.org/bio/0.1/"
xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:dct="http://purl.org/dc/terms/"
xmlns:earl="http://www.w3.org/ns/earl#"
xmlns:example="http://example.org/"
xmlns:ex="http://example.org/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:google="http://rdf.data-vocabulary.org/#"
xmlns:ical="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:openid="http://xmlns.openid.net/auth#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rel="http://vocab.org/relationship/"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
xmlns:rss="http://web.resource.org/rss/1.0/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:v="http://www.w3.org/2006/vcard/ns#"
xmlns:wot="http://xmlns.com/wot/0.1/"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>RDFa 1.1 Benchmark File #1</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
<p></p>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div rel="foaf:maker" typeof="foaf:Document">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Document" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
<p typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</div>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
<p>This is the first chapter in a series of chapters.</p>
<p>This is unit test #62. The next unit test is #63.</p>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
<p>This is test #66.</p>
<p>This is test #67.</p>
<p about="0067.svg">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.svg">Test 0070</a>.
</p>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.svg">Test 0069</span>.
</p>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
<p>
<a rel="alternate" href="http://example.org/alternate">alternate</a>
<a rel="appendix" href="http://example.org/appendix">appendix</a>
<a rel="bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel="cite" href="http://example.org/cite">cite</a>
<a rel="chapter" href="http://example.org/chapter">chapter</a>
<a rel="contents" href="http://example.org/contents">contents</a>
<a rel="copyright" href="http://example.org/copyright">copyright</a>
<a rel="glossary" href="http://example.org/glossary">glossary</a>
<a rel="help" href="http://example.org/help">help</a>
<a rel="icon" href="http://example.org/icon">icon</a>
<a rel="index" href="http://example.org/index">index</a>
<a rel="last" href="http://example.org/last">last</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="meta" href="http://example.org/meta">meta</a>
<a rel="next" href="http://example.org/next">next</a>
<a rel="p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel="prev" href="http://example.org/prev">prev</a>
<a rel="role" href="http://example.org/role">role</a>
<a rel="section" href="http://example.org/section">section</a>
<a rel="subsection" href="http://example.org/subsection">subsection</a>
<a rel="start" href="http://example.org/start">start</a>
<a rel="stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel="up" href="http://example.org/up">up</a>
</p>
<p>
<span about="http://example.org/alternate" rev="alternate"
href="0077.svg">alternate</span>
<span about="http://example.org/appendix" rev="appendix"
href="0077.svg">appendix</span>
<span about="http://example.org/bookmark" rev="bookmark"
href="0077.svg">bookmark</span>
<span about="http://example.org/cite" rev="cite"
href="0077.svg">cite</span>
<span about="http://example.org/chapter" rev="chapter"
href="0077.svg">chapter</span>
<span about="http://example.org/contents" rev="contents"
href="0077.svg">contents</span>
<span about="http://example.org/copyright" rev="copyright"
href="0077.svg">copyright</span>
<span about="http://example.org/glossary" rev="glossary"
href="0077.svg">glossary</span>
<span about="http://example.org/help" rev="help"
href="0077.svg">help</span>
<span about="http://example.org/icon" rev="icon"
href="0077.svg">icon</span>
<span about="http://example.org/index" rev="index"
href="0077.svg">index</span>
<span about="http://example.org/first" rev="first"
href="0077.svg">first</span>
<span about="http://example.org/last" rev="last"
href="0077.svg">last</span>
<span about="http://example.org/license" rev="license"
href="0077.svg">license</span>
<span about="http://example.org/meta" rev="meta"
href="0077.svg">meta</span>
<span about="http://example.org/next" rev="next"
href="0077.svg">next</span>
<span about="http://example.org/p3pv1" rev="p3pv1"
href="0077.svg">p3pv1</span>
<span about="http://example.org/prev" rev="prev"
href="0077.svg">prev</span>
<span about="http://example.org/role" rev="role"
href="0077.svg">role</span>
<span about="http://example.org/section" rev="section"
href="0077.svg">section</span>
<span about="http://example.org/subsection" rev="subsection"
href="0077.svg">subsection</span>
<span about="http://example.org/start" rev="start"
href="0077.svg">start</span>
<span about="http://example.org/stylesheet" rev="stylesheet"
href="0077.svg">stylesheet</span>
<span about="http://example.org/up" rev="up"
href="0077.svg">up</span>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
<div>
<img src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
<div rel="next"></div>
<p about="http://example.org/node" property="ex:property"
datatype="" xml:lang="el">ελληνικό
άσπρο διάστημα
</p>
<!-- This a NOT a valid XHTML document (due to @xml:base) -->
<div xml:base="http://example.org/invalid/">
<p about="">This is <span property="dc:title">Test 0109</span>.</p>
</div>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
<span about="#a" property="dc:title"></span>
<span about="#b" property="dc:title" />
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.svg">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase2" href="http://example.org/foo/..">Corner Case #2</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
<div>
<p about="http://example.org/">
<span about="[]" property="dc:title">Test Case 0121</span>
checks to make sure RDFa processors resolve the empty CURIE correctly.
<p resource="[]">
<span property="dc:contributor">Shane McCarron</span>
contributed to this test.
</p>
</p>
</div>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
<div id="mark" about="#mark" typeof="foaf:Person">
<h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
property="foaf:firstName">Mark</span> <span
property="foaf:surname">Birbeck</span></h2>
</div>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
<!-- @prefix should be ignored in the RDFa 1.0 case -->
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- prefix has a higher priority than xmlns, but should be ignored because version is explicitly set to 1.0 -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri/" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- The version statement should be ignored with version set to 1.0 -->
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- In RDFa 1.0, if a literal contains XML elements, and no explicit datatype is set, the result is XMLLiteral -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p>This document has a title.</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
<p>
The <span property="dc:title">rdfagraph</span> should not generate triples when
looking only at the processor graph.
</p>
<p></p>
<p></p>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
<p></p>
<span about="#a" property="dc:title"></span>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
<div>
Vocabulary Terms
<span property="alternate">alternate</span>
<span property="appendix">appendix</span>
<span property="cite">cite</span>
<span property="bookmark">bookmark</span>
<span property="contents">contents</span>
<span property="chapter">chapter</span>
<span property="copyright">copyright</span>
<span property="first">first</span>
<span property="glossary">glossary</span>
<span property="help">help</span>
<span property="icon">icon</span>
<span property="index">index</span>
<span property="last">last</span>
<span property="license">license</span>
<span property="meta">meta</span>
<span property="next">next</span>
<span property="prev">prev</span>
<span property="previous">previous</span>
<span property="section">section</span>
<span property="start">start</span>
<span property="stylesheet">stylesheet</span>
<span property="subsection">subsection</span>
<span property="top">top</span>
<span property="up">up</span>
<span property="p3pv1">p3pv1</span>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
<p> </p>
<p> </p>
<p> </p>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
<p> </p>
<p> </p>
<p> </p>
<time property="rdf:value" datetime="2012-03-18Z">18 March 2012</time>
<time property="rdf:value" datetime="00:00:00Z">midnight</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
<time property="rdf:value">2012-03-18Z</time>
<time property="rdf:value">00:00:00Z</time>
<time property="rdf:value">2012-03-18T00:00:00Z</time>
<time property="rdf:value" datetime="2012-03-18" content="not this">18 March 2012</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z" datatype="xsd:date">18 March 2012 at midnight</time>
<time property="rdf:value" datetime="P2011Y06M28DT00H00M00S">2011 years 6 months 28 days</time>
<time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
<time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
<time property="rdf:value"> 2012-03-18Z</time>
<time property="rdf:value" datatype="xsd:dateTime"> 2012-03-18Z</time>
<time property="rdf:value" lang="en" datetime="D-Day">
Non matching lexical value with language.
</time>
<data property="rdf:value" lang="lat" value="veni, vidi, vici" content="I came, I saw, I conquered">
@value overrides @content in the 'data' element.
</data>
<time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
<object property="rdf:value" data="http://example.com/"></object>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
<p>None of these triples should be generated in RDFa 1.0.</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
</div>
</body>
</svg>
Example 1596: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0295.sparql
# Just test to see that some triples are generated
ASK WHERE {?s ?p ?o}

Test files for XHTML1+RDFa 1.1:

Example 1597: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0295.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:air="http://www.daml.org/2001/10/html/airport-ont#"
xmlns:bio="http://vocab.org/bio/0.1/"
xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:dct="http://purl.org/dc/terms/"
xmlns:earl="http://www.w3.org/ns/earl#"
xmlns:example="http://example.org/"
xmlns:ex="http://example.org/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:google="http://rdf.data-vocabulary.org/#"
xmlns:ical="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:openid="http://xmlns.openid.net/auth#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rel="http://vocab.org/relationship/"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
xmlns:rss="http://web.resource.org/rss/1.0/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:v="http://www.w3.org/2006/vcard/ns#"
xmlns:wot="http://xmlns.com/wot/0.1/"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>RDFa 1.1 Benchmark File #1</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
<p></p>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div rel="foaf:maker" typeof="foaf:Document">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Document" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
<p typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</div>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
<p>This is the first chapter in a series of chapters.</p>
<p>This is unit test #62. The next unit test is #63.</p>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
<p>This is test #66.</p>
<p>This is test #67.</p>
<p about="0067.xhtml">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.xhtml">Test 0070</a>.
</p>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.xhtml">Test 0069</span>.
</p>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
<p>
<a rel="alternate" href="http://example.org/alternate">alternate</a>
<a rel="appendix" href="http://example.org/appendix">appendix</a>
<a rel="bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel="cite" href="http://example.org/cite">cite</a>
<a rel="chapter" href="http://example.org/chapter">chapter</a>
<a rel="contents" href="http://example.org/contents">contents</a>
<a rel="copyright" href="http://example.org/copyright">copyright</a>
<a rel="glossary" href="http://example.org/glossary">glossary</a>
<a rel="help" href="http://example.org/help">help</a>
<a rel="icon" href="http://example.org/icon">icon</a>
<a rel="index" href="http://example.org/index">index</a>
<a rel="last" href="http://example.org/last">last</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="meta" href="http://example.org/meta">meta</a>
<a rel="next" href="http://example.org/next">next</a>
<a rel="p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel="prev" href="http://example.org/prev">prev</a>
<a rel="role" href="http://example.org/role">role</a>
<a rel="section" href="http://example.org/section">section</a>
<a rel="subsection" href="http://example.org/subsection">subsection</a>
<a rel="start" href="http://example.org/start">start</a>
<a rel="stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel="up" href="http://example.org/up">up</a>
</p>
<p>
<span about="http://example.org/alternate" rev="alternate"
href="0077.xhtml">alternate</span>
<span about="http://example.org/appendix" rev="appendix"
href="0077.xhtml">appendix</span>
<span about="http://example.org/bookmark" rev="bookmark"
href="0077.xhtml">bookmark</span>
<span about="http://example.org/cite" rev="cite"
href="0077.xhtml">cite</span>
<span about="http://example.org/chapter" rev="chapter"
href="0077.xhtml">chapter</span>
<span about="http://example.org/contents" rev="contents"
href="0077.xhtml">contents</span>
<span about="http://example.org/copyright" rev="copyright"
href="0077.xhtml">copyright</span>
<span about="http://example.org/glossary" rev="glossary"
href="0077.xhtml">glossary</span>
<span about="http://example.org/help" rev="help"
href="0077.xhtml">help</span>
<span about="http://example.org/icon" rev="icon"
href="0077.xhtml">icon</span>
<span about="http://example.org/index" rev="index"
href="0077.xhtml">index</span>
<span about="http://example.org/first" rev="first"
href="0077.xhtml">first</span>
<span about="http://example.org/last" rev="last"
href="0077.xhtml">last</span>
<span about="http://example.org/license" rev="license"
href="0077.xhtml">license</span>
<span about="http://example.org/meta" rev="meta"
href="0077.xhtml">meta</span>
<span about="http://example.org/next" rev="next"
href="0077.xhtml">next</span>
<span about="http://example.org/p3pv1" rev="p3pv1"
href="0077.xhtml">p3pv1</span>
<span about="http://example.org/prev" rev="prev"
href="0077.xhtml">prev</span>
<span about="http://example.org/role" rev="role"
href="0077.xhtml">role</span>
<span about="http://example.org/section" rev="section"
href="0077.xhtml">section</span>
<span about="http://example.org/subsection" rev="subsection"
href="0077.xhtml">subsection</span>
<span about="http://example.org/start" rev="start"
href="0077.xhtml">start</span>
<span about="http://example.org/stylesheet" rev="stylesheet"
href="0077.xhtml">stylesheet</span>
<span about="http://example.org/up" rev="up"
href="0077.xhtml">up</span>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
<div>
<img src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
<div rel="next"></div>
<p about="http://example.org/node" property="ex:property"
datatype="" xml:lang="el">ελληνικό
άσπρο διάστημα
</p>
<!-- This a NOT a valid XHTML document (due to @xml:base) -->
<div xml:base="http://example.org/invalid/">
<p about="">This is <span property="dc:title">Test 0109</span>.</p>
</div>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
<span about="#a" property="dc:title"></span>
<span about="#b" property="dc:title" />
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.xhtml">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase2" href="http://example.org/foo/..">Corner Case #2</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
<div>
<p about="http://example.org/">
<span about="[]" property="dc:title">Test Case 0121</span>
checks to make sure RDFa processors resolve the empty CURIE correctly.
<p resource="[]">
<span property="dc:contributor">Shane McCarron</span>
contributed to this test.
</p>
</p>
</div>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
<div id="mark" about="#mark" typeof="foaf:Person">
<h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
property="foaf:firstName">Mark</span> <span
property="foaf:surname">Birbeck</span></h2>
</div>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
<!-- @prefix should be ignored in the RDFa 1.0 case -->
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- prefix has a higher priority than xmlns, but should be ignored because version is explicitly set to 1.0 -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri/" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- The version statement should be ignored with version set to 1.0 -->
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- In RDFa 1.0, if a literal contains XML elements, and no explicit datatype is set, the result is XMLLiteral -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p>This document has a title.</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
<p>
The <span property="dc:title">rdfagraph</span> should not generate triples when
looking only at the processor graph.
</p>
<p></p>
<p></p>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
<p></p>
<span about="#a" property="dc:title"></span>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
<div>
Vocabulary Terms
<span property="alternate">alternate</span>
<span property="appendix">appendix</span>
<span property="cite">cite</span>
<span property="bookmark">bookmark</span>
<span property="contents">contents</span>
<span property="chapter">chapter</span>
<span property="copyright">copyright</span>
<span property="first">first</span>
<span property="glossary">glossary</span>
<span property="help">help</span>
<span property="icon">icon</span>
<span property="index">index</span>
<span property="last">last</span>
<span property="license">license</span>
<span property="meta">meta</span>
<span property="next">next</span>
<span property="prev">prev</span>
<span property="previous">previous</span>
<span property="section">section</span>
<span property="start">start</span>
<span property="stylesheet">stylesheet</span>
<span property="subsection">subsection</span>
<span property="top">top</span>
<span property="up">up</span>
<span property="p3pv1">p3pv1</span>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
<p> </p>
<p> </p>
<p> </p>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
<p> </p>
<p> </p>
<p> </p>
<time property="rdf:value" datetime="2012-03-18Z">18 March 2012</time>
<time property="rdf:value" datetime="00:00:00Z">midnight</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
<time property="rdf:value">2012-03-18Z</time>
<time property="rdf:value">00:00:00Z</time>
<time property="rdf:value">2012-03-18T00:00:00Z</time>
<time property="rdf:value" datetime="2012-03-18" content="not this">18 March 2012</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z" datatype="xsd:date">18 March 2012 at midnight</time>
<time property="rdf:value" datetime="P2011Y06M28DT00H00M00S">2011 years 6 months 28 days</time>
<time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
<time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
<time property="rdf:value"> 2012-03-18Z</time>
<time property="rdf:value" datatype="xsd:dateTime"> 2012-03-18Z</time>
<time property="rdf:value" lang="en" datetime="D-Day">
Non matching lexical value with language.
</time>
<data property="rdf:value" lang="lat" value="veni, vidi, vici" content="I came, I saw, I conquered">
@value overrides @content in the 'data' element.
</data>
<time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
<object property="rdf:value" data="http://example.com/"></object>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
<p>None of these triples should be generated in RDFa 1.0.</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
</div>
</body>
</html>
Example 1598: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0295.sparql
# Just test to see that some triples are generated
ASK WHERE {?s ?p ?o}

Test files for XHTML5+RDFa 1.1:

Example 1599: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0295.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:air="http://www.daml.org/2001/10/html/airport-ont#"
xmlns:bio="http://vocab.org/bio/0.1/"
xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:dct="http://purl.org/dc/terms/"
xmlns:earl="http://www.w3.org/ns/earl#"
xmlns:example="http://example.org/"
xmlns:ex="http://example.org/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:google="http://rdf.data-vocabulary.org/#"
xmlns:ical="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:openid="http://xmlns.openid.net/auth#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rel="http://vocab.org/relationship/"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
xmlns:rss="http://web.resource.org/rss/1.0/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:v="http://www.w3.org/2006/vcard/ns#"
xmlns:wot="http://xmlns.com/wot/0.1/"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>RDFa 1.1 Benchmark File #1</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
<p></p>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div rel="foaf:maker" typeof="foaf:Document">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Document" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
<p typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</div>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
<p>This is the first chapter in a series of chapters.</p>
<p>This is unit test #62. The next unit test is #63.</p>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
<p>This is test #66.</p>
<p>This is test #67.</p>
<p about="0067.xhtml">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.xhtml">Test 0070</a>.
</p>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.xhtml">Test 0069</span>.
</p>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
<p>
<a rel="alternate" href="http://example.org/alternate">alternate</a>
<a rel="appendix" href="http://example.org/appendix">appendix</a>
<a rel="bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel="cite" href="http://example.org/cite">cite</a>
<a rel="chapter" href="http://example.org/chapter">chapter</a>
<a rel="contents" href="http://example.org/contents">contents</a>
<a rel="copyright" href="http://example.org/copyright">copyright</a>
<a rel="glossary" href="http://example.org/glossary">glossary</a>
<a rel="help" href="http://example.org/help">help</a>
<a rel="icon" href="http://example.org/icon">icon</a>
<a rel="index" href="http://example.org/index">index</a>
<a rel="last" href="http://example.org/last">last</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="meta" href="http://example.org/meta">meta</a>
<a rel="next" href="http://example.org/next">next</a>
<a rel="p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel="prev" href="http://example.org/prev">prev</a>
<a rel="role" href="http://example.org/role">role</a>
<a rel="section" href="http://example.org/section">section</a>
<a rel="subsection" href="http://example.org/subsection">subsection</a>
<a rel="start" href="http://example.org/start">start</a>
<a rel="stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel="up" href="http://example.org/up">up</a>
</p>
<p>
<span about="http://example.org/alternate" rev="alternate"
href="0077.xhtml">alternate</span>
<span about="http://example.org/appendix" rev="appendix"
href="0077.xhtml">appendix</span>
<span about="http://example.org/bookmark" rev="bookmark"
href="0077.xhtml">bookmark</span>
<span about="http://example.org/cite" rev="cite"
href="0077.xhtml">cite</span>
<span about="http://example.org/chapter" rev="chapter"
href="0077.xhtml">chapter</span>
<span about="http://example.org/contents" rev="contents"
href="0077.xhtml">contents</span>
<span about="http://example.org/copyright" rev="copyright"
href="0077.xhtml">copyright</span>
<span about="http://example.org/glossary" rev="glossary"
href="0077.xhtml">glossary</span>
<span about="http://example.org/help" rev="help"
href="0077.xhtml">help</span>
<span about="http://example.org/icon" rev="icon"
href="0077.xhtml">icon</span>
<span about="http://example.org/index" rev="index"
href="0077.xhtml">index</span>
<span about="http://example.org/first" rev="first"
href="0077.xhtml">first</span>
<span about="http://example.org/last" rev="last"
href="0077.xhtml">last</span>
<span about="http://example.org/license" rev="license"
href="0077.xhtml">license</span>
<span about="http://example.org/meta" rev="meta"
href="0077.xhtml">meta</span>
<span about="http://example.org/next" rev="next"
href="0077.xhtml">next</span>
<span about="http://example.org/p3pv1" rev="p3pv1"
href="0077.xhtml">p3pv1</span>
<span about="http://example.org/prev" rev="prev"
href="0077.xhtml">prev</span>
<span about="http://example.org/role" rev="role"
href="0077.xhtml">role</span>
<span about="http://example.org/section" rev="section"
href="0077.xhtml">section</span>
<span about="http://example.org/subsection" rev="subsection"
href="0077.xhtml">subsection</span>
<span about="http://example.org/start" rev="start"
href="0077.xhtml">start</span>
<span about="http://example.org/stylesheet" rev="stylesheet"
href="0077.xhtml">stylesheet</span>
<span about="http://example.org/up" rev="up"
href="0077.xhtml">up</span>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
<div>
<img src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
<div rel="next"></div>
<p about="http://example.org/node" property="ex:property"
datatype="" xml:lang="el">ελληνικό
άσπρο διάστημα
</p>
<!-- This a NOT a valid XHTML document (due to @xml:base) -->
<div xml:base="http://example.org/invalid/">
<p about="">This is <span property="dc:title">Test 0109</span>.</p>
</div>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
<span about="#a" property="dc:title"></span>
<span about="#b" property="dc:title" />
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.xhtml">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase2" href="http://example.org/foo/..">Corner Case #2</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
<div>
<p about="http://example.org/">
<span about="[]" property="dc:title">Test Case 0121</span>
checks to make sure RDFa processors resolve the empty CURIE correctly.
<p resource="[]">
<span property="dc:contributor">Shane McCarron</span>
contributed to this test.
</p>
</p>
</div>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
<div id="mark" about="#mark" typeof="foaf:Person">
<h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
property="foaf:firstName">Mark</span> <span
property="foaf:surname">Birbeck</span></h2>
</div>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
<!-- @prefix should be ignored in the RDFa 1.0 case -->
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- prefix has a higher priority than xmlns, but should be ignored because version is explicitly set to 1.0 -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri/" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- The version statement should be ignored with version set to 1.0 -->
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- In RDFa 1.0, if a literal contains XML elements, and no explicit datatype is set, the result is XMLLiteral -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p>This document has a title.</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
<p>
The <span property="dc:title">rdfagraph</span> should not generate triples when
looking only at the processor graph.
</p>
<p></p>
<p></p>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
<p></p>
<span about="#a" property="dc:title"></span>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
<div>
Vocabulary Terms
<span property="alternate">alternate</span>
<span property="appendix">appendix</span>
<span property="cite">cite</span>
<span property="bookmark">bookmark</span>
<span property="contents">contents</span>
<span property="chapter">chapter</span>
<span property="copyright">copyright</span>
<span property="first">first</span>
<span property="glossary">glossary</span>
<span property="help">help</span>
<span property="icon">icon</span>
<span property="index">index</span>
<span property="last">last</span>
<span property="license">license</span>
<span property="meta">meta</span>
<span property="next">next</span>
<span property="prev">prev</span>
<span property="previous">previous</span>
<span property="section">section</span>
<span property="start">start</span>
<span property="stylesheet">stylesheet</span>
<span property="subsection">subsection</span>
<span property="top">top</span>
<span property="up">up</span>
<span property="p3pv1">p3pv1</span>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
<p> </p>
<p> </p>
<p> </p>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
<p> </p>
<p> </p>
<p> </p>
<time property="rdf:value" datetime="2012-03-18Z">18 March 2012</time>
<time property="rdf:value" datetime="00:00:00Z">midnight</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
<time property="rdf:value">2012-03-18Z</time>
<time property="rdf:value">00:00:00Z</time>
<time property="rdf:value">2012-03-18T00:00:00Z</time>
<time property="rdf:value" datetime="2012-03-18" content="not this">18 March 2012</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z" datatype="xsd:date">18 March 2012 at midnight</time>
<time property="rdf:value" datetime="P2011Y06M28DT00H00M00S">2011 years 6 months 28 days</time>
<time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
<time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
<time property="rdf:value"> 2012-03-18Z</time>
<time property="rdf:value" datatype="xsd:dateTime"> 2012-03-18Z</time>
<time property="rdf:value" lang="en" datetime="D-Day">
Non matching lexical value with language.
</time>
<data property="rdf:value" lang="lat" value="veni, vidi, vici" content="I came, I saw, I conquered">
@value overrides @content in the 'data' element.
</data>
<time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
<object property="rdf:value" data="http://example.com/"></object>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
<p>None of these triples should be generated in RDFa 1.0.</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
</div>
</body>
</html>
Example 1600: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0295.sparql
# Just test to see that some triples are generated
ASK WHERE {?s ?p ?o}

Test files for XML+RDFa 1.1:

Example 1601: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0295.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:air="http://www.daml.org/2001/10/html/airport-ont#"
xmlns:bio="http://vocab.org/bio/0.1/"
xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:cert="http://www.w3.org/ns/auth/cert#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:dct="http://purl.org/dc/terms/"
xmlns:earl="http://www.w3.org/ns/earl#"
xmlns:example="http://example.org/"
xmlns:ex="http://example.org/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:google="http://rdf.data-vocabulary.org/#"
xmlns:ical="http://www.w3.org/2002/12/cal/icaltzd#"
xmlns:openid="http://xmlns.openid.net/auth#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:rel="http://vocab.org/relationship/"
xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
xmlns:rss="http://web.resource.org/rss/1.0/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:v="http://www.w3.org/2006/vcard/ns#"
xmlns:wot="http://xmlns.com/wot/0.1/"
xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>RDFa 1.1 Benchmark File #1</title>
</head>
<body>
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This photo was taken by
<a about="photo1.jpg" property="dc:title"
content="Portrait of Mark" rel="dc:creator"
rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<p>This document is licensed under a
<a about="" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons
</a>.
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p>
<span about="http://example.org/foo"
property="ex:bar" content="10" datatype="xsd:integer">ten</span>
</p>
<p></p>
<p>
<span about="[_:a]" property="foaf:name">Manu Sporny</span>
<span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
<span about="[_:b]" property="foaf:name">Ralph Swick</span>.
</p>
<p>
This photo was taken by
<a about="photo1.jpg" rel="dc:creator"
href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
</p>
<div about="mailto:manu.sporny@digitalbazaar.com"
rel="foaf:knows" href="mailto:michael.hausenblas@joanneum.at"></div>
<div about="photo1.jpg">
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
<p>
This paper was written by
<span rel="dc:creator" resource="#me">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck" />
</p>
<p>
<span about="http://internet-apps.blogspot.com/"
property="dc:creator" content="Mark Birbeck">Mark B.
</span>
</p>
<p>
<span about="http://example.org/foo"
property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
</p>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
</p>
<p about="#wtw">
The book <b>Weaving the Web</b> (hardcover) has the ISBN
<a rel="dc:identifier" resource="urn:ISBN:0752820907"
href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
</p>
<p>
This paper was written by
<span rel="dc:creator">
<span property="foaf:name">Ben Adida</span>.
</span>
</p>
<div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
<img src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img about="http://sw-app.org/mic.xhtml#i"
rev="foaf:depicts"
src="http://sw-app.org/img/mic_2007_01.jpg"
href="http://sw-app.org/img/mic_2006_03.jpg"
resource="http://sw-app.org/mic.xhtml#photo"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div rel="foaf:maker" typeof="foaf:Document">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Document" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div about="http://www.example.org/#me" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
<p>
This document was authored and published by
<span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
</p>
<p>
This document was authored and published by
<a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
</p>
<div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
<p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
</div>
<div about="http://www.example.org/#ben" rel="foaf:knows">
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
<p typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
</div>
<p>This document was authored and published by:</p>
<ul rel="dc:creator dc:publisher">
<li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
<li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
</ul>
<div about="http://www.example.org/#matsumoto-kimiko"
typeof="foaf:Person">
<p property="foaf:name">松本 后子</p>
</div>
<p>This is the first chapter in a series of chapters.</p>
<p>This is unit test #62. The next unit test is #63.</p>
<p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
<p about="[_:michael]">Michael knows
<a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
</p>
<div about="[_:manu]">
Manu Sporny can be reached via
<a rel="foaf:mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
</div>

<div about="[_:michael]">
Michael can be reached via
<a rel="foaf:mbox" href="mailto:michael.hausenblas@joanneum.at">email</a>.
</div>
<p>This is test #66.</p>
<p>This is test #67.</p>
<p about="0067.xml">
The previous test was
<span property="dc:title">Test 0067</span>.
</p>
<p>The next test will be
<a about="" rel="xhv:next" href="0070.xml">Test 0070</a>.
</p>
<p>The previous test was
<span about="" rel="xhv:prev" resource="0069.xml">Test 0069</span>.
</p>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
<p about="faq">
Learn more by reading the example.org
<span property="dc:title">Example FAQ</span>.
</p>
<p>
This article was written by
<span rel="dc:creator" resource="jane">Jane</span>.
</p>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
<p>
<a rel="alternate" href="http://example.org/alternate">alternate</a>
<a rel="appendix" href="http://example.org/appendix">appendix</a>
<a rel="bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel="cite" href="http://example.org/cite">cite</a>
<a rel="chapter" href="http://example.org/chapter">chapter</a>
<a rel="contents" href="http://example.org/contents">contents</a>
<a rel="copyright" href="http://example.org/copyright">copyright</a>
<a rel="glossary" href="http://example.org/glossary">glossary</a>
<a rel="help" href="http://example.org/help">help</a>
<a rel="icon" href="http://example.org/icon">icon</a>
<a rel="index" href="http://example.org/index">index</a>
<a rel="last" href="http://example.org/last">last</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="meta" href="http://example.org/meta">meta</a>
<a rel="next" href="http://example.org/next">next</a>
<a rel="p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel="prev" href="http://example.org/prev">prev</a>
<a rel="role" href="http://example.org/role">role</a>
<a rel="section" href="http://example.org/section">section</a>
<a rel="subsection" href="http://example.org/subsection">subsection</a>
<a rel="start" href="http://example.org/start">start</a>
<a rel="stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel="up" href="http://example.org/up">up</a>
</p>
<p>
<span about="http://example.org/alternate" rev="alternate"
href="0077.xml">alternate</span>
<span about="http://example.org/appendix" rev="appendix"
href="0077.xml">appendix</span>
<span about="http://example.org/bookmark" rev="bookmark"
href="0077.xml">bookmark</span>
<span about="http://example.org/cite" rev="cite"
href="0077.xml">cite</span>
<span about="http://example.org/chapter" rev="chapter"
href="0077.xml">chapter</span>
<span about="http://example.org/contents" rev="contents"
href="0077.xml">contents</span>
<span about="http://example.org/copyright" rev="copyright"
href="0077.xml">copyright</span>
<span about="http://example.org/glossary" rev="glossary"
href="0077.xml">glossary</span>
<span about="http://example.org/help" rev="help"
href="0077.xml">help</span>
<span about="http://example.org/icon" rev="icon"
href="0077.xml">icon</span>
<span about="http://example.org/index" rev="index"
href="0077.xml">index</span>
<span about="http://example.org/first" rev="first"
href="0077.xml">first</span>
<span about="http://example.org/last" rev="last"
href="0077.xml">last</span>
<span about="http://example.org/license" rev="license"
href="0077.xml">license</span>
<span about="http://example.org/meta" rev="meta"
href="0077.xml">meta</span>
<span about="http://example.org/next" rev="next"
href="0077.xml">next</span>
<span about="http://example.org/p3pv1" rev="p3pv1"
href="0077.xml">p3pv1</span>
<span about="http://example.org/prev" rev="prev"
href="0077.xml">prev</span>
<span about="http://example.org/role" rev="role"
href="0077.xml">role</span>
<span about="http://example.org/section" rev="section"
href="0077.xml">section</span>
<span about="http://example.org/subsection" rev="subsection"
href="0077.xml">subsection</span>
<span about="http://example.org/start" rev="start"
href="0077.xml">start</span>
<span about="http://example.org/stylesheet" rev="stylesheet"
href="0077.xml">stylesheet</span>
<span about="http://example.org/up" rev="up"
href="0077.xml">up</span>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
</div>
<div about="http://www.example.org/#somebody" rel="foaf:knows">
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
</div>
<div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
<div>
<p property="foaf:name">Ivan Herman</p>
<p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
<p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>

</div>
</div>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<div rel="foaf:knows">
<p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
<p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
<p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
</div>
</div>
<p>
<a rel=":alternate" href="http://example.org/alternate">alternate</a>
<a rel=":appendix" href="http://example.org/appendix">appendix</a>
<a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
<a rel=":cite" href="http://example.org/cite">cite</a>
<a rel=":chapter" href="http://example.org/chapter">chapter</a>
<a rel=":contents" href="http://example.org/contents">contents</a>
<a rel=":copyright" href="http://example.org/copyright">copyright</a>
<a rel=":glossary" href="http://example.org/glossary">glossary</a>
<a rel=":help" href="http://example.org/help">help</a>
<a rel=":icon" href="http://example.org/icon">icon</a>
<a rel=":index" href="http://example.org/index">index</a>
<a rel=":first" href="http://example.org/first">first</a>
<a rel=":last" href="http://example.org/last">last</a>
<a rel=":license" href="http://example.org/license">license</a>
<a rel=":meta" href="http://example.org/meta">meta</a>
<a rel=":next" href="http://example.org/next">next</a>
<a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
<a rel=":prev" href="http://example.org/prev">prev</a>
<a rel=":role" href="http://example.org/role">role</a>
<a rel=":section" href="http://example.org/section">section</a>
<a rel=":subsection" href="http://example.org/subsection">subsection</a>
<a rel=":start" href="http://example.org/start">start</a>
<a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
<a rel=":up" href="http://example.org/up">up</a>
</p>
<div about ="http://www.example.org/#somebody" rel="foaf:knows">
<p about="[_:]" property="foaf:name">Dan Brickley</p>
<p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
</div>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
<div>
<img src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<p about="[_:human]">
A human is
<span property=":definition">a bi-pedal primate</span>.
They are quite possibly one of the most
<span property=":note">confused animal</span>s residing in the
<span property=":foo">Milky Way</span>.
</p>
<div about="">
Author: <span property="dc:creator">Albert Einstein</span>
<h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p about="http://www.cwi.nl/~steven/" property="example:likes">
We put thirty spokes together and call it a wheel;
But it is on the space where there is nothing that the usefulness of the wheel depends.
We turn clay to make a vessel;
But it is on the space where there is nothing that the usefulness of the vessel depends.
We pierce doors and windows to make a house;
And it is on these spaces where there is nothing that the usefulness of the house depends.
Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.

Lao Tzu: Tao Te Ching</p>
<p>
The word "interfenestration" has
<span about="#interfenestration" rel="example:size">
<span property="rdf:value">17</span>
<span property="example:unit">character</span>s.
</span>
</p>
<div about="" rel="dc:creator">
<a rel="" href="manu.html">Manu</a> created this page.
</div>
<div rel="next"></div>
<p about="http://example.org/node" property="ex:property"
datatype="" xml:lang="el">ελληνικό
άσπρο διάστημα
</p>
<!-- This a NOT a valid XHTML document (due to @xml:base) -->
<div xml:base="http://example.org/invalid/">
<p about="">This is <span property="dc:title">Test 0109</span>.</p>
</div>
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
<div rel="xhv:next">
<div rel="xhv:next">
<div rel="xhv:next" />
</div>
</div>
<p>
<span about="http://example.org/node" property="ex:property"
datatype="">not an XML Literal,
whitespace preserved
</span>
</p>
<span about="#a" property="dc:title"></span>
<span about="#b" property="dc:title" />
<div>
<a rel="xhv:index" href="../../.././#">Test Suite</a>
<a rel="xhv:next" href="0115.xml">Test Case 0115</a>
<a rel="xhv:up" href="./">Test Case 0114</a>
<a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
<a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
<a rel="rdfatest:cornerCase2" href="http://example.org/foo/..">Corner Case #2</a>
<a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
<a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
<a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
</div>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
<p>
Check to see if parsers get confused when "" is
interpreted as NULL in some chaining cases.
<a href="http://example.org/ben.html"><span
about="" property="dc:creator">Ben</span></a>
</p>
<div>
<p about="[example:]">
The
<span property="dc:title">Example Website</span>
is used in many W3C tutorials.
</p>
</div>
<p about="[:]">
The
<span property="dc:title">The XHTML Vocabulary Document</span>
is the default prefix for XHTML+RDFa 1.0.
</p>
<div>
<p about="http://example.org/">
<span about="[]" property="dc:title">Test Case 0121</span>
checks to make sure RDFa processors resolve the empty CURIE correctly.
<p resource="[]">
<span property="dc:contributor">Shane McCarron</span>
contributed to this test.
</p>
</p>
</div>
<p about="http://example.org/section1.html">
This section is contained below <span rel="up" resource="[]">the main site</span>.
</p>
<div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
<h1 property="dct:title">My article</h1>
</div>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
<p>
This test ensures that single-character prefixes are allowed.
My name is:
<span about="http://example.org/jd" property="v:fn">John Doe</span>
</p>
<p about="_:gregg">My name is
<em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
</p>
<div about="_:manu">
Manu can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:manu.sporny@digitalbazaar.com">email</a>.
<span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
<span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
</div>

<div about="_:gregg">
Gregg can be reached via
<a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:gregg@kellogg-assoc.com">email</a>.
</div>
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
<p property="foaf:name">A particular agent</p>
</div>
<!-- prefix has a higher priority than xmlns -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
<p property=":name">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
<div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">A particular agent</p>
</div>
</div>
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
<div vocab="http://example.org/wrong/foaf/uri/">
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Ivan Herman</p>
</div>
</div>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
</div>
</div>
<div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
<p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about ="http://www.example.org/software">
<p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
<p property="ex:plainlit">This is a <em>plain</em> literal</p>
</div>
<p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
<p property="dc:language" datatype="pred/lang">Ruby</p>
<p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
<p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
<div id="mark" about="#mark" typeof="foaf:Person">
<h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
property="foaf:firstName">Mark</span> <span
property="foaf:surname">Birbeck</span></h2>
</div>
<p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
</p>
<p about="#event1" typeof="cal:Vevent">
<b property="cal:summary">Weekend off in Iona</b>:
<span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
info on <span property="cal:location">Iona, UK</span>.
</p>
<!-- @prefix should be ignored in the RDFa 1.0 case -->
<div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- prefix has a higher priority than xmlns, but should be ignored because version is explicitly set to 1.0 -->
<div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri/" prefix="foaf: http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- The version statement should be ignored with version set to 1.0 -->
<div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="foaf:name">Ivan Herman</p>
</div>
<!-- In RDFa 1.0, if a literal contains XML elements, and no explicit datatype is set, the result is XMLLiteral -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
<div about="http://www.example.org/">
<h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
</div>
<p>This document has a title.</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
in the html element, ie, when the content sniffing to find out the character encoding may not work -->
<p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
<div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
<p property="name">Gregg Kellogg</p>
</div>
<div about ="">
<p rel="rdf:value" inlist=""/>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="">
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<a rel="rdf:value" inlist="" href="foo">Foo</a>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<strong><p property="rdf:value" inlist="">Bar</p></strong>
<p property="rdf:value">Baz</p>
</div>
<div about="">
<ol rel="rdf:value" inlist="">
<li><a href="foo">Foo</a></li>
<li><a href="bar">Bar</a></li>
</ol>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Foo</p>
</div>
<div about="foo">
<p property="rdf:value" inlist="">Bar</p>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist" resource="res">
<p property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div about="">
<p property="rdf:value" inlist="">Foo</p>
<span rel="rdf:inlist">
<p about="res" property="rdf:value" inlist="">Bar</p>
</span>
</div>
<div>
<img src="http://sw-app.org/img/mic_2007_01.jpg"
rev="xhv:alternate"
resource="http://sw-app.org/img/mic_2006_03.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img rel="foaf:img"
src="http://sw-app.org/img/mic_2007_01.jpg"
alt="A photo depicting Michael" />
</div>
<div>
<img
src="http://example.org/example.png"
rel="license"
href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
alt="example image" />
</div>
<div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
<img src="http://example.org/example.png" alt="example image" />
</div>
<div rel="foaf:maker" typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
<div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
<p property="foaf:name">John Doe</p>
</div>
<p>
<a rel="describedby" href="http://example.org/describedby">describedby</a>
<a rel="license" href="http://example.org/license">license</a>
<a rel="role" href="http://example.org/role">role</a>
</p>
<p>
The <span property="dc:title">rdfagraph</span> should not generate triples when
looking only at the processor graph.
</p>
<p></p>
<p></p>
<p about="http://example.org/node" property="ex:property"
datatype="" lang="el">ελληνικό
άσπρο διάστημα
</p>
<p></p>
<span about="#a" property="dc:title"></span>
<p>Ensure that the "_" prefix is ignored.</p>
<p xmlns:_="http://example.org/"
prefix="_: http://example.org/"
xmlns:earl="http://www.w3.org/ns/earl#"
rel="earl:testcase" resource="_:test">Test</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
<div>
Vocabulary Terms
<span property="alternate">alternate</span>
<span property="appendix">appendix</span>
<span property="cite">cite</span>
<span property="bookmark">bookmark</span>
<span property="contents">contents</span>
<span property="chapter">chapter</span>
<span property="copyright">copyright</span>
<span property="first">first</span>
<span property="glossary">glossary</span>
<span property="help">help</span>
<span property="icon">icon</span>
<span property="index">index</span>
<span property="last">last</span>
<span property="license">license</span>
<span property="meta">meta</span>
<span property="next">next</span>
<span property="prev">prev</span>
<span property="previous">previous</span>
<span property="section">section</span>
<span property="start">start</span>
<span property="stylesheet">stylesheet</span>
<span property="subsection">subsection</span>
<span property="top">top</span>
<span property="up">up</span>
<span property="p3pv1">p3pv1</span>
</div>
<div about="http://www.example.org">
<p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
an XMLLiteral</p>
</div>
<p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
">Mark Birbeck</span>.</p>
<p> </p>
<p> </p>
<p> </p>
<div about="http://www.w3.org/Person/Ivan#me">
<a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
</div>
<div about="http://www.w3.org/Person/Ivan#me">
<p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
</div>
<div about="http://www.ivan-herman.net/foaf#me">
<img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
</div>
<p> </p>
<p> </p>
<p> </p>
<time property="rdf:value" datetime="2012-03-18Z">18 March 2012</time>
<time property="rdf:value" datetime="00:00:00Z">midnight</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
<time property="rdf:value">2012-03-18Z</time>
<time property="rdf:value">00:00:00Z</time>
<time property="rdf:value">2012-03-18T00:00:00Z</time>
<time property="rdf:value" datetime="2012-03-18" content="not this">18 March 2012</time>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z" datatype="xsd:date">18 March 2012 at midnight</time>
<time property="rdf:value" datetime="P2011Y06M28DT00H00M00S">2011 years 6 months 28 days</time>
<time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
<time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
<time property="rdf:value"> 2012-03-18Z</time>
<time property="rdf:value" datatype="xsd:dateTime"> 2012-03-18Z</time>
<time property="rdf:value" lang="en" datetime="D-Day">
Non matching lexical value with language.
</time>
<data property="rdf:value" lang="lat" value="veni, vidi, vici" content="I came, I saw, I conquered">
@value overrides @content in the 'data' element.
</data>
<time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
<object property="rdf:value" data="http://example.com/"></object>
<h1>@href becomes subject when @property and @content are present</h1>
<a href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@href becomes subject when @property and @datatype are present</h1>
<a href="http://example.org/" property="rdf:value" datatype="">value</a>
<h1>@href as subject overridden by @about</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
<h1>@about overriding @href as subject is used as parent resource</h1>
<a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
<span property="rdf:value">value two</span>
</a>
<h1>Testing the ':' character usage in a CURIE</h1>
<div prefix="ex: http://www.example.org/">
<p about="http://www.example.org" property="ex:column:test">Test</p>
</div>
<p>None of these triples should be generated in RDFa 1.0.</p>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
</div>
</body>
</root>
Example 1602: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0295.sparql
# Just test to see that some triples are generated
ASK WHERE {?s ?p ?o}
Test 0296: @property does set parent object without @typeof

When @property is used with a resource attribute (@href, @resource, ...) it does not set parent object.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1603: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0296.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0296</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/"><span property="name">Gregg</span></a>
Knows
<ul>
<li property="knows" resource="http://example.com/niklas/#me" typeof="Person">
<a property="homepage" href="http://example.com/niklas/"><span property="name">Niklas</span></a>
</li>
<li property="knows" resource="http://example.com/stéphane/#me" typeof="Person">
<a property="homepage" href="http://example.com/stéphane/"><span property="name">Stéphane</span></a>
</li>
<li property="knows" resource="http://example.com/ivan/#me" typeof="Person">
<a property="homepage" href="http://example.com/ivan/"><span property="name">Ivan</span></a>
</li>
<li property="knows" resource="http://example.com/manu/#me" typeof="Person">
<a property="homepage" href="http://example.com/manu/"><span property="name">Manu</span></a>
</li>
</ul>
</div>
</body>
</html>
Example 1604: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0296.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg";
foaf:knows
<http://example.com/niklas/#me>,
<http://example.com/stéphane/#me>,
<http://example.com/ivan/#me>,
<http://example.com/manu/#me> .
<http://example.com/niklas/#me> a foaf:Person; foaf:name "Niklas" .
<http://example.com/stéphane/#me> a foaf:Person; foaf:name "Stéphane" .
<http://example.com/ivan/#me> a foaf:Person; foaf:name "Ivan" .
<http://example.com/manu/#me> a foaf:Person; foaf:name "Manu" .
}

Test files for HTML5+RDFa 1.1:

Example 1605: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0296.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0296</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/"><span property="name">Gregg</span></a>
Knows
<ul>
<li property="knows" resource="http://example.com/niklas/#me" typeof="Person">
<a property="homepage" href="http://example.com/niklas/"><span property="name">Niklas</span></a>
</li>
<li property="knows" resource="http://example.com/stéphane/#me" typeof="Person">
<a property="homepage" href="http://example.com/stéphane/"><span property="name">Stéphane</span></a>
</li>
<li property="knows" resource="http://example.com/ivan/#me" typeof="Person">
<a property="homepage" href="http://example.com/ivan/"><span property="name">Ivan</span></a>
</li>
<li property="knows" resource="http://example.com/manu/#me" typeof="Person">
<a property="homepage" href="http://example.com/manu/"><span property="name">Manu</span></a>
</li>
</ul>
</div>
</body>
</html>
Example 1606: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0296.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg";
foaf:knows
<http://example.com/niklas/#me>,
<http://example.com/stéphane/#me>,
<http://example.com/ivan/#me>,
<http://example.com/manu/#me> .
<http://example.com/niklas/#me> a foaf:Person; foaf:name "Niklas" .
<http://example.com/stéphane/#me> a foaf:Person; foaf:name "Stéphane" .
<http://example.com/ivan/#me> a foaf:Person; foaf:name "Ivan" .
<http://example.com/manu/#me> a foaf:Person; foaf:name "Manu" .
}

Test files for SVG+RDFa 1.1:

Example 1607: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0296.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0296</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/"><span property="name">Gregg</span></a>
Knows
<ul>
<li property="knows" resource="http://example.com/niklas/#me" typeof="Person">
<a property="homepage" href="http://example.com/niklas/"><span property="name">Niklas</span></a>
</li>
<li property="knows" resource="http://example.com/stéphane/#me" typeof="Person">
<a property="homepage" href="http://example.com/stéphane/"><span property="name">Stéphane</span></a>
</li>
<li property="knows" resource="http://example.com/ivan/#me" typeof="Person">
<a property="homepage" href="http://example.com/ivan/"><span property="name">Ivan</span></a>
</li>
<li property="knows" resource="http://example.com/manu/#me" typeof="Person">
<a property="homepage" href="http://example.com/manu/"><span property="name">Manu</span></a>
</li>
</ul>
</div>
</body>
</svg>
Example 1608: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0296.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg";
foaf:knows
<http://example.com/niklas/#me>,
<http://example.com/stéphane/#me>,
<http://example.com/ivan/#me>,
<http://example.com/manu/#me> .
<http://example.com/niklas/#me> a foaf:Person; foaf:name "Niklas" .
<http://example.com/stéphane/#me> a foaf:Person; foaf:name "Stéphane" .
<http://example.com/ivan/#me> a foaf:Person; foaf:name "Ivan" .
<http://example.com/manu/#me> a foaf:Person; foaf:name "Manu" .
}

Test files for XHTML1+RDFa 1.1:

Example 1609: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0296.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0296</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/"><span property="name">Gregg</span></a>
Knows
<ul>
<li property="knows" resource="http://example.com/niklas/#me" typeof="Person">
<a property="homepage" href="http://example.com/niklas/"><span property="name">Niklas</span></a>
</li>
<li property="knows" resource="http://example.com/stéphane/#me" typeof="Person">
<a property="homepage" href="http://example.com/stéphane/"><span property="name">Stéphane</span></a>
</li>
<li property="knows" resource="http://example.com/ivan/#me" typeof="Person">
<a property="homepage" href="http://example.com/ivan/"><span property="name">Ivan</span></a>
</li>
<li property="knows" resource="http://example.com/manu/#me" typeof="Person">
<a property="homepage" href="http://example.com/manu/"><span property="name">Manu</span></a>
</li>
</ul>
</div>
</body>
</html>
Example 1610: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0296.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg";
foaf:knows
<http://example.com/niklas/#me>,
<http://example.com/stéphane/#me>,
<http://example.com/ivan/#me>,
<http://example.com/manu/#me> .
<http://example.com/niklas/#me> a foaf:Person; foaf:name "Niklas" .
<http://example.com/stéphane/#me> a foaf:Person; foaf:name "Stéphane" .
<http://example.com/ivan/#me> a foaf:Person; foaf:name "Ivan" .
<http://example.com/manu/#me> a foaf:Person; foaf:name "Manu" .
}

Test files for XHTML5+RDFa 1.1:

Example 1611: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0296.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0296</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/"><span property="name">Gregg</span></a>
Knows
<ul>
<li property="knows" resource="http://example.com/niklas/#me" typeof="Person">
<a property="homepage" href="http://example.com/niklas/"><span property="name">Niklas</span></a>
</li>
<li property="knows" resource="http://example.com/stéphane/#me" typeof="Person">
<a property="homepage" href="http://example.com/stéphane/"><span property="name">Stéphane</span></a>
</li>
<li property="knows" resource="http://example.com/ivan/#me" typeof="Person">
<a property="homepage" href="http://example.com/ivan/"><span property="name">Ivan</span></a>
</li>
<li property="knows" resource="http://example.com/manu/#me" typeof="Person">
<a property="homepage" href="http://example.com/manu/"><span property="name">Manu</span></a>
</li>
</ul>
</div>
</body>
</html>
Example 1612: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0296.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg";
foaf:knows
<http://example.com/niklas/#me>,
<http://example.com/stéphane/#me>,
<http://example.com/ivan/#me>,
<http://example.com/manu/#me> .
<http://example.com/niklas/#me> a foaf:Person; foaf:name "Niklas" .
<http://example.com/stéphane/#me> a foaf:Person; foaf:name "Stéphane" .
<http://example.com/ivan/#me> a foaf:Person; foaf:name "Ivan" .
<http://example.com/manu/#me> a foaf:Person; foaf:name "Manu" .
}

Test files for XML+RDFa 1.1:

Example 1613: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0296.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0296</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/"><span property="name">Gregg</span></a>
Knows
<ul>
<li property="knows" resource="http://example.com/niklas/#me" typeof="Person">
<a property="homepage" href="http://example.com/niklas/"><span property="name">Niklas</span></a>
</li>
<li property="knows" resource="http://example.com/stéphane/#me" typeof="Person">
<a property="homepage" href="http://example.com/stéphane/"><span property="name">Stéphane</span></a>
</li>
<li property="knows" resource="http://example.com/ivan/#me" typeof="Person">
<a property="homepage" href="http://example.com/ivan/"><span property="name">Ivan</span></a>
</li>
<li property="knows" resource="http://example.com/manu/#me" typeof="Person">
<a property="homepage" href="http://example.com/manu/"><span property="name">Manu</span></a>
</li>
</ul>
</div>
</body>
</root>
Example 1614: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0296.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg";
foaf:knows
<http://example.com/niklas/#me>,
<http://example.com/stéphane/#me>,
<http://example.com/ivan/#me>,
<http://example.com/manu/#me> .
<http://example.com/niklas/#me> a foaf:Person; foaf:name "Niklas" .
<http://example.com/stéphane/#me> a foaf:Person; foaf:name "Stéphane" .
<http://example.com/ivan/#me> a foaf:Person; foaf:name "Ivan" .
<http://example.com/manu/#me> a foaf:Person; foaf:name "Manu" .
}
Test 0297: @about=[] with @typeof does not create a new subject

When the @about resolves to nothing, the typed resource should not create a new subject.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1615: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0297.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0297: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person" property="foaf:name">Alex Milowski</div>
</body>
</html>
Example 1616: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0297.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0297.html> foaf:name "Alex Milowski" .
[ a foaf:Person ] .
}

Test files for HTML5+RDFa 1.1:

Example 1617: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0297.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0297: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person" property="foaf:name">Alex Milowski</div>
</body>
</html>
Example 1618: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0297.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0297.html> foaf:name "Alex Milowski" .
[ a foaf:Person ] .
}

Test files for SVG+RDFa 1.1:

Example 1619: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0297.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0297: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person" property="foaf:name">Alex Milowski</div>
</body>
</svg>
Example 1620: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0297.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0297.svg> foaf:name "Alex Milowski" .
[ a foaf:Person ] .
}

Test files for XHTML1+RDFa 1.1:

Example 1621: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0297.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0297: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person" property="foaf:name">Alex Milowski</div>
</body>
</html>
Example 1622: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0297.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0297.xhtml> foaf:name "Alex Milowski" .
[ a foaf:Person ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1623: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0297.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0297: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person" property="foaf:name">Alex Milowski</div>
</body>
</html>
Example 1624: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0297.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0297.xhtml> foaf:name "Alex Milowski" .
[ a foaf:Person ] .
}

Test files for XML+RDFa 1.1:

Example 1625: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0297.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0297: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person" property="foaf:name">Alex Milowski</div>
</body>
</root>
Example 1626: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0297.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0297.xml> foaf:name "Alex Milowski" .
[ a foaf:Person ] .
}
Test 0298: @about=[] with @typeof does not create a new object

When the @about resolves to nothing, the typed resource should not create a new subject (chaining).

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1627: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0298.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0298: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person">
<span property="foaf:name">Alex Milowski</span>
</div>
</body>
</html>
Example 1628: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0298.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
[ a foaf:Person; foaf:name "Alex Milowski" ] .
}

Test files for HTML5+RDFa 1.1:

Example 1629: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0298.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0298: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person">
<span property="foaf:name">Alex Milowski</span>
</div>
</body>
</html>
Example 1630: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0298.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
[ a foaf:Person; foaf:name "Alex Milowski" ] .
}

Test files for SVG+RDFa 1.1:

Example 1631: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0298.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0298: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person">
<span property="foaf:name">Alex Milowski</span>
</div>
</body>
</svg>
Example 1632: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0298.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
[ a foaf:Person; foaf:name "Alex Milowski" ] .
}

Test files for XHTML1+RDFa 1.1:

Example 1633: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0298.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0298: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person">
<span property="foaf:name">Alex Milowski</span>
</div>
</body>
</html>
Example 1634: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0298.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
[ a foaf:Person; foaf:name "Alex Milowski" ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1635: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0298.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0298: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person">
<span property="foaf:name">Alex Milowski</span>
</div>
</body>
</html>
Example 1636: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0298.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
[ a foaf:Person; foaf:name "Alex Milowski" ] .
}

Test files for XML+RDFa 1.1:

Example 1637: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0298.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0298: Testing @typeof and @about=[]</title>
</head>
<body>
<div about="[]" typeof="foaf:Person">
<span property="foaf:name">Alex Milowski</span>
</div>
</body>
</root>
Example 1638: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0298.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
[ a foaf:Person; foaf:name "Alex Milowski" ] .
}
Test 0299: @resource=[] with @href or @src uses @href or @src (@rel)

When the @resource resolves to nothing, @href or @src should be used (@rel case).

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1639: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0299.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0299: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" rel="xhv:license" resource="[]">The Foo Document</a>
</body>
</html>
Example 1640: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0299.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for HTML5+RDFa 1.1:

Example 1641: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0299.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0299: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" rel="xhv:license" resource="[]">The Foo Document</a>
</body>
</html>
Example 1642: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0299.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for SVG+RDFa 1.1:

Example 1643: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0299.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0299: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" rel="xhv:license" resource="[]">The Foo Document</a>
</body>
</svg>
Example 1644: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0299.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for XHTML1+RDFa 1.1:

Example 1645: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0299.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0299: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" rel="xhv:license" resource="[]">The Foo Document</a>
</body>
</html>
Example 1646: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0299.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for XHTML5+RDFa 1.1:

Example 1647: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0299.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0299: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" rel="xhv:license" resource="[]">The Foo Document</a>
</body>
</html>
Example 1648: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0299.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for XML+RDFa 1.1:

Example 1649: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0299.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0299: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" rel="xhv:license" resource="[]">The Foo Document</a>
</body>
</root>
Example 1650: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0299.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}
Test 0300: @resource=[] with @href or @src uses @href or @src (@property)

When the @resource resolves to nothing, @href or @src should be used (@property case).

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1651: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0300.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0300: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" property="xhv:license" resource="[]">The Foo Document</a>
</body>
</html>
Example 1652: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0300.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for HTML5+RDFa 1.1:

Example 1653: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0300.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0300: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" property="xhv:license" resource="[]">The Foo Document</a>
</body>
</html>
Example 1654: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0300.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for SVG+RDFa 1.1:

Example 1655: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0300.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0300: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" property="xhv:license" resource="[]">The Foo Document</a>
</body>
</svg>
Example 1656: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0300.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for XHTML1+RDFa 1.1:

Example 1657: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0300.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0300: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" property="xhv:license" resource="[]">The Foo Document</a>
</body>
</html>
Example 1658: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0300.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for XHTML5+RDFa 1.1:

Example 1659: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0300.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0300: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" property="xhv:license" resource="[]">The Foo Document</a>
</body>
</html>
Example 1660: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0300.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}

Test files for XML+RDFa 1.1:

Example 1661: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0300.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0300: Testing @resource=[]</title>
</head>
<body about="http://www.example.org/">
<a href="http://www.example.org/license.xhtml" property="xhv:license" resource="[]">The Foo Document</a>
</body>
</root>
Example 1662: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0300.sparql
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>
ASK WHERE {
<http://www.example.org/> xhv:license <http://www.example.org/license.xhtml> .
}
Test 0301: @property with @typeof creates a typed_resource for chaining

@property with @typeof creates a typed_resource for chaining.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1663: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0301.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0301: Typed Property</title>
</head>
<body>
<p vocab="http://www.milowski.com/V/" property="bit" typeof="thing">
<span property="name">Fizzbit</span>
</p>
</body>
</html>
Example 1664: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0301.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0301.html> <http://www.milowski.com/V/bit> [
a <http://www.milowski.com/V/thing>;
<http://www.milowski.com/V/name> "Fizzbit"
]
}

Test files for HTML5+RDFa 1.1:

Example 1665: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0301.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0301: Typed Property</title>
</head>
<body>
<p vocab="http://www.milowski.com/V/" property="bit" typeof="thing">
<span property="name">Fizzbit</span>
</p>
</body>
</html>
Example 1666: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0301.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0301.html> <http://www.milowski.com/V/bit> [
a <http://www.milowski.com/V/thing>;
<http://www.milowski.com/V/name> "Fizzbit"
]
}

Test files for SVG+RDFa 1.1:

Example 1667: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0301.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0301: Typed Property</title>
</head>
<body>
<p vocab="http://www.milowski.com/V/" property="bit" typeof="thing">
<span property="name">Fizzbit</span>
</p>
</body>
</svg>
Example 1668: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0301.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0301.svg> <http://www.milowski.com/V/bit> [
a <http://www.milowski.com/V/thing>;
<http://www.milowski.com/V/name> "Fizzbit"
]
}

Test files for XHTML1+RDFa 1.1:

Example 1669: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0301.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0301: Typed Property</title>
</head>
<body>
<p vocab="http://www.milowski.com/V/" property="bit" typeof="thing">
<span property="name">Fizzbit</span>
</p>
</body>
</html>
Example 1670: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0301.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0301.xhtml> <http://www.milowski.com/V/bit> [
a <http://www.milowski.com/V/thing>;
<http://www.milowski.com/V/name> "Fizzbit"
]
}

Test files for XHTML5+RDFa 1.1:

Example 1671: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0301.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0301: Typed Property</title>
</head>
<body>
<p vocab="http://www.milowski.com/V/" property="bit" typeof="thing">
<span property="name">Fizzbit</span>
</p>
</body>
</html>
Example 1672: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0301.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0301.xhtml> <http://www.milowski.com/V/bit> [
a <http://www.milowski.com/V/thing>;
<http://www.milowski.com/V/name> "Fizzbit"
]
}

Test files for XML+RDFa 1.1:

Example 1673: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0301.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0301: Typed Property</title>
</head>
<body>
<p vocab="http://www.milowski.com/V/" property="bit" typeof="thing">
<span property="name">Fizzbit</span>
</p>
</body>
</root>
Example 1674: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0301.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0301.xml> <http://www.milowski.com/V/bit> [
a <http://www.milowski.com/V/thing>;
<http://www.milowski.com/V/name> "Fizzbit"
]
}
Test 0302: @typeof with different content types

Tests that @typof works with terms, CURIES or IRIs.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1675: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0302.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0302: various types of tokens in @typeof</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://openspring.net/scor#me" typeof="Person foaf:Person http://purl.org/dc/terms/Agent">
<a property="homepage" href="http://openspring.net/"><span property="name">Stéphane Corlosquet</span></a>
</div>
</body>
</html>
Example 1676: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0302.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/terms/>
ASK WHERE {
<http://openspring.net/scor#me> a schema:Person, foaf:Person, dc:Agent;
schema:name "Stéphane Corlosquet";
schema:homepage <http://openspring.net/> .
}

Test files for HTML5+RDFa 1.1:

Example 1677: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0302.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0302: various types of tokens in @typeof</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://openspring.net/scor#me" typeof="Person foaf:Person http://purl.org/dc/terms/Agent">
<a property="homepage" href="http://openspring.net/"><span property="name">Stéphane Corlosquet</span></a>
</div>
</body>
</html>
Example 1678: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0302.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/terms/>
ASK WHERE {
<http://openspring.net/scor#me> a schema:Person, foaf:Person, dc:Agent;
schema:name "Stéphane Corlosquet";
schema:homepage <http://openspring.net/> .
}

Test files for SVG+RDFa 1.1:

Example 1679: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0302.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0302: various types of tokens in @typeof</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://openspring.net/scor#me" typeof="Person foaf:Person http://purl.org/dc/terms/Agent">
<a property="homepage" href="http://openspring.net/"><span property="name">Stéphane Corlosquet</span></a>
</div>
</body>
</svg>
Example 1680: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0302.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/terms/>
ASK WHERE {
<http://openspring.net/scor#me> a schema:Person, foaf:Person, dc:Agent;
schema:name "Stéphane Corlosquet";
schema:homepage <http://openspring.net/> .
}

Test files for XHTML1+RDFa 1.1:

Example 1681: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0302.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0302: various types of tokens in @typeof</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://openspring.net/scor#me" typeof="Person foaf:Person http://purl.org/dc/terms/Agent">
<a property="homepage" href="http://openspring.net/"><span property="name">Stéphane Corlosquet</span></a>
</div>
</body>
</html>
Example 1682: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0302.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/terms/>
ASK WHERE {
<http://openspring.net/scor#me> a schema:Person, foaf:Person, dc:Agent;
schema:name "Stéphane Corlosquet";
schema:homepage <http://openspring.net/> .
}

Test files for XHTML5+RDFa 1.1:

Example 1683: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0302.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0302: various types of tokens in @typeof</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://openspring.net/scor#me" typeof="Person foaf:Person http://purl.org/dc/terms/Agent">
<a property="homepage" href="http://openspring.net/"><span property="name">Stéphane Corlosquet</span></a>
</div>
</body>
</html>
Example 1684: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0302.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/terms/>
ASK WHERE {
<http://openspring.net/scor#me> a schema:Person, foaf:Person, dc:Agent;
schema:name "Stéphane Corlosquet";
schema:homepage <http://openspring.net/> .
}

Test files for XML+RDFa 1.1:

Example 1685: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0302.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0302: various types of tokens in @typeof</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://openspring.net/scor#me" typeof="Person foaf:Person http://purl.org/dc/terms/Agent">
<a property="homepage" href="http://openspring.net/"><span property="name">Stéphane Corlosquet</span></a>
</div>
</body>
</root>
Example 1686: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0302.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/terms/>
ASK WHERE {
<http://openspring.net/scor#me> a schema:Person, foaf:Person, dc:Agent;
schema:name "Stéphane Corlosquet";
schema:homepage <http://openspring.net/> .
}
Test 0303: For HTML+RDFa 1.1, remove term elements of @rel/@rev when on same element as @property

So that HTML link-relations don't accidentally change the meaning of @property, in HTML+RDFa @rel/@rev term elements are removed from processing, and the entire attribute is removed if it is empty.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1687: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0303.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0303: @rel/@rev terms removed if @property exists</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://example.org/base">
<a property="uri" rel="license" href="http://example.orb/val1">Not This</a>
<a property="name" rel="homepage foaf:homepage" href="http://greggkellogg.net/">Gregg Kellogg</a>
</div>
</body>
</html>
Example 1688: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0303.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.org/base> schema:name "Gregg Kellogg";
schema:uri <http://example.orb/val1>;
foaf:homepage <http://greggkellogg.net/> .

}

Test files for HTML5+RDFa 1.1:

Example 1689: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0303.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0303: @rel/@rev terms removed if @property exists</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://example.org/base">
<a property="uri" rel="license" href="http://example.orb/val1">Not This</a>
<a property="name" rel="homepage foaf:homepage" href="http://greggkellogg.net/">Gregg Kellogg</a>
</div>
</body>
</html>
Example 1690: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0303.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.org/base> schema:name "Gregg Kellogg";
schema:uri <http://example.orb/val1>;
foaf:homepage <http://greggkellogg.net/> .

}

Test files for XHTML5+RDFa 1.1:

Example 1691: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0303.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0303: @rel/@rev terms removed if @property exists</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://example.org/base">
<a property="uri" rel="license" href="http://example.orb/val1">Not This</a>
<a property="name" rel="homepage foaf:homepage" href="http://greggkellogg.net/">Gregg Kellogg</a>
</div>
</body>
</html>
Example 1692: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0303.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.org/base> schema:name "Gregg Kellogg";
schema:uri <http://example.orb/val1>;
foaf:homepage <http://greggkellogg.net/> .

}
Test 0304: Embedded chunks of RDF/XML

Tests that embedded RDF/XML is added to the same graph.

Expected query to return true

Test files for SVG+RDFa 1.1:

Example 1693: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0304.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg width="12cm" height="4cm" viewBox="0 0 1200 400"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xml:base="http://example.net/"
xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
<desc property="dc:description">A yellow rectangle with sharp corners.</desc>
<metadata>
<rdf:RDF>
<rdf:Description rdf:about="">
<dc:title>Test 0304</dc:title>
</rdf:Description>
</rdf:RDF>
</metadata>
<!-- Show outline of canvas using 'rect' element -->
<rect x="1" y="1" width="1198" height="398"
fill="none" stroke="blue" stroke-width="2"/>
<rect x="400" y="100" width="400" height="200"
fill="yellow" stroke="navy" stroke-width="10" />
</svg>
Example 1694: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0304.sparql
ASK WHERE {
<http://example.net/> <http://purl.org/dc/terms/title> "Test 0304" .
<http://example.net/> <http://purl.org/dc/terms/description> "A yellow rectangle with sharp corners." .
}

Test 0305: role attribute with explicit id and term

When role is specified along with an id the appropriate triple is created.

Expected query to return true

Test files for XML+Role Attribute:

Example 1695: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0305.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0305</title>
</head>
<body>
<div id="heading1" role="heading">
<p>Some contents that are a header</p>
</div>
</body>
</root>
Example 1696: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0305.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0305.xml#heading1> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#heading> .
}
Test 0307: role attribute with term and no id

When role is specified along with an id the appropriate triple is created.

Expected query to return true

Test files for XML+Role Attribute:

Example 1697: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0307.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0307</title>
</head>
<body>
<div role="heading">
<p>Some contents that are a header</p>
</div>
</body>
</root>
Example 1698: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0307.sparql
ASK WHERE {
[] <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#heading> .
}
Test 0308: role attribute with explicit id and IRI as object

When role is specified along with an id the appropriate triple is created.

Expected query to return true

Test files for XML+Role Attribute:

Example 1699: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0308.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0308</title>
</head>
<body>
<div id="therole" role="http://www.example.com/roles/somerole">
<p>Some contents that are a header</p>
</div>
</body>
</root>
Example 1700: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0308.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0308.xml#therole> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.example.com/roles/somerole>
}
Test 0309: role attribute with explicit id and CURIE as object

When role is specified along with an id the appropriate triple is created.

Expected query to return true

Test files for XML+Role Attribute:

Example 1701: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0309.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0309</title>
</head>
<body>
<div prefix="ex: http://www.example.com/roles/" id="therole" role="ex:somerole">
<p>Some contents that are a header</p>
</div>
</body>
</root>
Example 1702: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0309.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0309.xml#therole> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.example.com/roles/somerole>
}
Test 0310: role attribute with multiple values

The datatype permits multiple whitespace separated roles

Expected query to return true

Test files for XML+Role Attribute:

Example 1703: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0310.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0310</title>
</head>
<body>
<div prefix="ex: http://www.example.com/roles/" id="therole" role="ex:somerole someOtherRole http://www.example.com/alternate/role">
<p>Some contents that are a header</p>
</div>
</body>
</root>
Example 1704: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0310.sparql
PREFIX ex: <http://www.example.com/roles/>
PREFIX xhv: <http://www.w3.org/1999/xhtml/vocab#>

ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0310.xml#therole> xhv:role ex:somerole,
xhv:someOtherRole,
<http://www.example.com/alternate/role> .
}
Test 0311: Ensure no triples are generated when @property is empty

If no terms or CURIEs are present in @property, no triple should be generated from it.

Expected query to return false

Test files for HTML4+RDFa 1.1:

Example 1705: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0311.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0311</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="">Stéphane Corlosquet</span>
</span>
</div>
</body>
</html>
Example 1706: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0311.sparql
# This is a negative test, there should be no triples generated.
ASK WHERE {
?s ?p ?o .
}

Test files for HTML5+RDFa 1.1:

Example 1707: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0311.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0311</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="">Stéphane Corlosquet</span>
</span>
</div>
</body>
</html>
Example 1708: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0311.sparql
# This is a negative test, there should be no triples generated.
ASK WHERE {
?s ?p ?o .
}

Test files for SVG+RDFa 1.1:

Example 1709: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0311.svg
<?xml version="1.0" encoding="UTF-8"?>
<svg>
<head>
<title>Test 0311</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="">Stéphane Corlosquet</span>
</span>
</div>
</body>
</svg>
Example 1710: http://rdfa.info/test-suite/test-cases/rdfa1.1/svg/0311.sparql
# This is a negative test, there should be no triples generated.
ASK WHERE {
?s ?p ?o .
}

Test files for XHTML1+RDFa 1.1:

Example 1711: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0311.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0311</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="">Stéphane Corlosquet</span>
</span>
</div>
</body>
</html>
Example 1712: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0311.sparql
# This is a negative test, there should be no triples generated.
ASK WHERE {
?s ?p ?o .
}

Test files for XHTML5+RDFa 1.1:

Example 1713: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0311.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0311</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="">Stéphane Corlosquet</span>
</span>
</div>
</body>
</html>
Example 1714: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0311.sparql
# This is a negative test, there should be no triples generated.
ASK WHERE {
?s ?p ?o .
}

Test files for XML+RDFa 1.1:

Example 1715: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0311.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0311</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="">Stéphane Corlosquet</span>
</span>
</div>
</body>
</root>
Example 1716: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0311.sparql
# This is a negative test, there should be no triples generated.
ASK WHERE {
?s ?p ?o .
}

Test 0312: Mute plain @rel if @property is present

In HTML5, when @property is present on an element, a @rel attribute on the same element containing only non-CURIE and non-URI values must be completely ignored.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1717: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0312.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0312</title>
</head>
<body>
<p vocab="http://schema.org/" typeof="Person">
The homepage of <a href="http://example.org/" property="homepage" rel="nofollow">Some Body</a>.
</p>
</body>
</html>
Example 1718: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0312.sparql
ASK WHERE {
?s <http://schema.org/homepage> <http://example.org/> .
}

Test files for XHTML5+RDFa 1.1:

Example 1719: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0312.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0312</title>
</head>
<body>
<p vocab="http://schema.org/" typeof="Person">
The homepage of <a href="http://example.org/" property="homepage" rel="nofollow">Some Body</a>.
</p>
</body>
</html>
Example 1720: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0312.sparql
ASK WHERE {
?s <http://schema.org/homepage> <http://example.org/> .
}
Test 0314: Use of many terms from the default vocabulary

When role is specified using default vocabulary terms the expected triples are created.

Expected query to return true

Test files for XML+Role Attribute:

Example 1721: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0314.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0314</title>
</head>
<body>
<div id="b" role="banner">
<p>Here is a banner for this page.</p>
</div>
<div id="toc" role="contentinfo">
<p>Here is some information about the page's contents:</p>
<ul id="contents" role="list">
<li role="listitem"><a href="#s1">Section 1</a></li>
<li role="listitem"><a href="#s2">Section 2</a></li>
<li role="listitem"><a href="#a1">Appendix 1</a></li>
</ul>
</div>
<div id="main" role="main">
<p>This is the primary content of this page. It has some sections.</p>
<div id="s1" role="section">
<h1 role="heading">Some contents that are a header</h1>
<p>Section 1 needs some content!</p>
</div>
<div id="s2" role="section">
<h1 role="heading">This is Section 2</h1>
<p>Section 2 is pretty boring.</p>
</div>
<div id="a1" role="appendix">
<h1 role="heading">This is Appendix 1</h1>
<p role="note">It is a note about the document - not a primary content
item.</p>
</div>
</div>
</body>
</root>
Example 1722: http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0314.sparql
ASK WHERE {
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0314.xml#b> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#banner>.
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0314.xml#toc> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#contentinfo>.
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0314.xml#contents> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#list>.
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0314.xml#a1> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#appendix>.
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0314.xml#s1> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#section>.
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0314.xml#s2> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#section>.
<http://rdfa.info/test-suite/test-cases/rdfa1.1-role/xml/0314.xml#main> <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#main>.
[] <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#listitem>.
[] <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#heading>.
[] <http://www.w3.org/1999/xhtml/vocab#role> <http://www.w3.org/1999/xhtml/vocab#note>.
}
Test 0315: @property and @typeof with incomplete triples

In HTML5, an element with @property and @typeof with incomplete triples sets uses typed resource.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1723: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0315.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0315</title>
</head>
<body prefix="po: http://example.org/">
<dl>
<dt rel="po:role" class="role">
<span typeof="po:Role" property="rdfs:label">Director</span>
</dt>
</dl>
</body>
</html>
Example 1724: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0315.sparql
PREFIX po: <http://example.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

ASK WHERE {
?s po:role [ rdfs:label [ a po:Role ] ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1725: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0315.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0315</title>
</head>
<body prefix="po: http://example.org/">
<dl>
<dt rel="po:role" class="role">
<span typeof="po:Role" property="rdfs:label">Director</span>
</dt>
</dl>
</body>
</html>
Example 1726: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0315.sparql
PREFIX po: <http://example.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

ASK WHERE {
?s po:role [ rdfs:label [ a po:Role ] ] .
}
Test 0316: @property and @typeof with incomplete triples (@href variant)

In HTML5, an element with @property and @typeof with incomplete triples sets uses typed resource (@href variant).

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1727: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0316.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0316</title>
</head>
<body prefix="po: http://example.org/">
<dl>
<dt rel="po:role" class="role">
<a typeof="po:Role" property="rdfs:label" href="http://example.org/profiles/director.html">Director</a>
</dt>
</dl>
</body>
</html>
Example 1728: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0316.sparql
PREFIX po: <http://example.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

ASK WHERE {
?s po:role [ rdfs:label <http://example.org/profiles/director.html>] .

<http://example.org/profiles/director.html> a po:Role .
}

Test files for XHTML5+RDFa 1.1:

Example 1729: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0316.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0316</title>
</head>
<body prefix="po: http://example.org/">
<dl>
<dt rel="po:role" class="role">
<a typeof="po:Role" property="rdfs:label" href="http://example.org/profiles/director.html">Director</a>
</dt>
</dl>
</body>
</html>
Example 1730: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0316.sparql
PREFIX po: <http://example.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

ASK WHERE {
?s po:role [ rdfs:label <http://example.org/profiles/director.html>] .

<http://example.org/profiles/director.html> a po:Role .
}
Test 0317: @datatype inhibits new @property behavior

Using @datatype on the same element as @property forces the object to be a literal value.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1731: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0317.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0316</title>
</head>
<body prefix="po: http://purl.org/ontology/po/">
<dl>
<dt rel="po:role" class="role">
<a typeof="po:Role" property="rdfs:label" datatype="" href="http://example.org/profiles/director.html">Director</a>
</dt>
</dl>
</body>
</html>
Example 1732: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0317.sparql
PREFIX po: <http://purl.org/ontology/po/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

ASK WHERE {
?s po:role <http://example.org/profiles/director.html> .

<http://example.org/profiles/director.html> a po:Role;
rdfs:label "Director" .
}

Test files for XHTML5+RDFa 1.1:

Example 1733: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0317.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0316</title>
</head>
<body prefix="po: http://purl.org/ontology/po/">
<dl>
<dt rel="po:role" class="role">
<a typeof="po:Role" property="rdfs:label" datatype="" href="http://example.org/profiles/director.html">Director</a>
</dt>
</dl>
</body>
</html>
Example 1734: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0317.sparql
PREFIX po: <http://purl.org/ontology/po/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

ASK WHERE {
?s po:role <http://example.org/profiles/director.html> .

<http://example.org/profiles/director.html> a po:Role;
rdfs:label "Director" .
}
Test 0318: Setting @vocab to empty strings removes default vocabulary

If the value (of @vocab) is empty, then the local default vocabulary must be reset to the Host Language defined default.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1735: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0318.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head></head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
<meta vocab="" property="prop" content="value"/>
</div>
</div>
</body>
</html>
Example 1736: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0318.sparql
# Check that foaf:name exists, but there is no statement with "value".

ASK WHERE {
?s <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
OPTIONAL {?s ?p "value" } .
FILTER (! bound (?p))
}

Test files for HTML5+RDFa 1.1:

Example 1737: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0318.html
<!DOCTYPE html>
<html>
<head></head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
<meta vocab="" property="prop" content="value"/>
</div>
</div>
</body>
</html>
Example 1738: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0318.sparql
# Check that foaf:name exists, but there is no statement with "value".

ASK WHERE {
?s <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
OPTIONAL {?s ?p "value" } .
FILTER (! bound (?p))
}

Test files for XHTML1+RDFa 1.1:

Example 1739: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0318.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head></head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
<meta vocab="" property="prop" content="value"/>
</div>
</div>
</body>
</html>
Example 1740: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0318.sparql
# Check that foaf:name exists, but there is no statement with "value".

ASK WHERE {
?s <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
OPTIONAL {?s ?p "value" } .
FILTER (! bound (?p))
}

Test files for XHTML5+RDFa 1.1:

Example 1741: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0318.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
<meta vocab="" property="prop" content="value"/>
</div>
</div>
</body>
</html>
Example 1742: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0318.sparql
# Check that foaf:name exists, but there is no statement with "value".

ASK WHERE {
?s <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
OPTIONAL {?s ?p "value" } .
FILTER (! bound (?p))
}

Test files for XML+RDFa 1.1:

Example 1743: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0318.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head></head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/">
<div about ="#me">
<p property="name">Ivan Herman</p>
<meta vocab="" property="prop" content="value"/>
</div>
</div>
</body>
</root>
Example 1744: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0318.sparql
# Check that foaf:name exists, but there is no statement with "value".

ASK WHERE {
?s <http://xmlns.com/foaf/0.1/name> "Ivan Herman" .
OPTIONAL {?s ?p "value" } .
FILTER (! bound (?p))
}
Test 0319: Relative @profile

Relative IRI's used with @prefix do not resolve against the document base; they are not processed in any way. However, the returned document does have a base, so when queried, it will seem to have the same base as the original document.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1745: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0319.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<base href="http://example.com/"></base>
</head>
<body xml:base="http://example.com/" prefix="pr: relative/iri#" xmlns:xpr="relative/uri#">
<p property="pr:prop xpr:prop">value</p>
</body></html>
Example 1746: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0319.sparql
# Checks to see that prefixes with relative IRIs are not resolved to the document base
# It is resolved against the document origin, though, when the result is parsed
ASK WHERE {
?s <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/relative/iri#prop> ?o; <http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/relative/uri#prop> ?o .
}

Test files for HTML5+RDFa 1.1:

Example 1747: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0319.html
<!DOCTYPE html>
<html>
<head>
<base href="http://example.com/"></base>
</head>
<body xml:base="http://example.com/" prefix="pr: relative/iri#" xmlns:xpr="relative/uri#">
<p property="pr:prop xpr:prop">value</p>
</body></html>
Example 1748: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0319.sparql
# Checks to see that prefixes with relative IRIs are not resolved to the document base
# It is resolved against the document origin, though, when the result is parsed
ASK WHERE {
?s <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/relative/iri#prop> ?o; <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/relative/uri#prop> ?o .
}

Test files for XHTML1+RDFa 1.1:

Example 1749: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0319.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<base href="http://example.com/"></base>
</head>
<body xml:base="http://example.com/" prefix="pr: relative/iri#" xmlns:xpr="relative/uri#">
<p property="pr:prop xpr:prop">value</p>
</body></html>
Example 1750: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0319.sparql
# Checks to see that prefixes with relative IRIs are not resolved to the document base
# It is resolved against the document origin, though, when the result is parsed
ASK WHERE {
?s <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/relative/iri#prop> ?o; <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/relative/uri#prop> ?o .
}

Test files for XHTML5+RDFa 1.1:

Example 1751: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0319.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="http://example.com/"></base>
</head>
<body xml:base="http://example.com/" prefix="pr: relative/iri#" xmlns:xpr="relative/uri#">
<p property="pr:prop xpr:prop">value</p>
</body></html>
Example 1752: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0319.sparql
# Checks to see that prefixes with relative IRIs are not resolved to the document base
# It is resolved against the document origin, though, when the result is parsed
ASK WHERE {
?s <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/relative/iri#prop> ?o; <http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/relative/uri#prop> ?o .
}

Test files for XML+RDFa 1.1:

Example 1753: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0319.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<base href="http://example.com/"></base>
</head>
<body xml:base="http://example.com/" prefix="pr: relative/iri#" xmlns:xpr="relative/uri#">
<p property="pr:prop xpr:prop">value</p>
</body></root>
Example 1754: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0319.sparql
# Checks to see that prefixes with relative IRIs are not resolved to the document base
# It is resolved against the document origin, though, when the result is parsed
ASK WHERE {
?s <http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/relative/iri#prop> ?o; <http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/relative/uri#prop> ?o .
}
Test 0320: @property binds to @href

Given @property with @href and @src, @href is used as object and sets new subject.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1755: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0320.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1">
<head>
<title>Test 0320</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/" src="http://example.net/gregg">
<span property="name">Gregg</span>
</a>
</div>
</body>
</html>
Example 1756: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0320.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg" .
}

Test files for HTML5+RDFa 1.1:

Example 1757: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0320.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0320</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/" src="http://example.net/gregg">
<span property="name">Gregg</span>
</a>
</div>
</body>
</html>
Example 1758: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0320.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg" .
}

Test files for XHTML1+RDFa 1.1:

Example 1759: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0320.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1">
<head>
<title>Test 0320</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/" src="http://example.net/gregg">
<span property="name">Gregg</span>
</a>
</div>
</body>
</html>
Example 1760: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0320.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg" .
}

Test files for XHTML5+RDFa 1.1:

Example 1761: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0320.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0320</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/" src="http://example.net/gregg">
<span property="name">Gregg</span>
</a>
</div>
</body>
</html>
Example 1762: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0320.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg" .
}

Test files for XML+RDFa 1.1:

Example 1763: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0320.xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<head>
<title>Test 0320</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/" src="http://example.net/gregg">
<span property="name">Gregg</span>
</a>
</div>
</body>
</root>
Example 1764: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0320.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
<http://example.com/gregg/#me> a foaf:Person; foaf:name "Gregg" .
}
Test 0321: rdfa:copy to rdfa:Pattern

Simple reference to an rdfa:Pattern.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1765: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0321.html
<!DOCTYPE html>
<html>
<head></head>
<body vocab="http://schema.org/">
<div typeof="Person">
<link property="rdfa:copy" resource="_:a"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="name">Amanda</span></p>
</body>
</html>
Example 1766: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0321.sparql
PREFIX schema: <http://schema.org/>
ASK WHERE {
[ a schema:Person; schema:name "Amanda" ]
}

Test files for XHTML5+RDFa 1.1:

Example 1767: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0321.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body vocab="http://schema.org/">
<div typeof="Person">
<link property="rdfa:copy" resource="_:a"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="name">Amanda</span></p>
</body>
</html>
Example 1768: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0321.sparql
PREFIX schema: <http://schema.org/>
ASK WHERE {
[ a schema:Person; schema:name "Amanda" ]
}
Test 0322: rdfa:copy for additional property value

an rdfa:Pattern can add an additional property value.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1769: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0322.html
<!DOCTYPE html>
<html>
<head></head>
<body vocab="http://schema.org/">
<div typeof="Person">
<p>My name is <span property="name">Gregg</span></p>
<link property="rdfa:copy" resource="_:surname"/>
</div>
<p resource="_:surname" typeof="rdfa:Pattern">My name is <span property="name">Kellogg</span></p>
</body>
</html>
Example 1770: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0322.sparql
PREFIX schema: <http://schema.org/>
ASK WHERE {
[ a schema:Person; schema:name "Gregg", "Kellogg" ]
}

Test files for XHTML5+RDFa 1.1:

Example 1771: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0322.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body vocab="http://schema.org/">
<div typeof="Person">
<p>My name is <span property="name">Gregg</span></p>
<link property="rdfa:copy" resource="_:surname"/>
</div>
<p resource="_:surname" typeof="rdfa:Pattern">My name is <span property="name">Kellogg</span></p>
</body>
</html>
Example 1772: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0322.sparql
PREFIX schema: <http://schema.org/>
ASK WHERE {
[ a schema:Person; schema:name "Gregg", "Kellogg" ]
}
Test 0323: Multiple references to rdfa:Pattern

Multiple subjects can reference the same rdfa:Pattern.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1773: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0323.html
<!DOCTYPE html>
<html>
<head></head>
<body>
<div typeof="schema:Person">
<link property="rdfa:copy" resource="_:a"/>
</div>
<div typeof="foaf:Person">
<link property="rdfa:copy" resource="_:a"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="schema:name foaf:name">Amanda</span></p>
</body>
</html>
Example 1774: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0323.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
[ a schema:Person; schema:name "Amanda"; foaf:name "Amanda" ] .
[ a foaf:Person; schema:name "Amanda"; foaf:name "Amanda" ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1775: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0323.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body>
<div typeof="schema:Person">
<link property="rdfa:copy" resource="_:a"/>
</div>
<div typeof="foaf:Person">
<link property="rdfa:copy" resource="_:a"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="schema:name foaf:name">Amanda</span></p>
</body>
</html>
Example 1776: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0323.sparql
PREFIX schema: <http://schema.org/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
ASK WHERE {
[ a schema:Person; schema:name "Amanda"; foaf:name "Amanda" ] .
[ a foaf:Person; schema:name "Amanda"; foaf:name "Amanda" ] .
}
Test 0324: Multiple references to rdfa:Pattern

A subject can reference multiple rdfa:Pattern definitions.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1777: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0324.html
<!DOCTYPE html>
<html>
<head></head>
<body>
<div typeof="schema:Person">
<link property="rdfa:copy" resource="_:a"/>
<link property="rdfa:copy" resource="_:b"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="schema:name">Amanda</span></p>
<p resource="_:b" typeof="rdfa:Pattern"><span property="schema:band">Jazz Band</span></p>
</body>
</html>
Example 1778: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0324.sparql
PREFIX schema: <http://schema.org/>
ASK WHERE {
[ a schema:Person; schema:name "Amanda"; schema:band "Jazz Band" ]
}

Test files for XHTML5+RDFa 1.1:

Example 1779: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0324.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<body>
<div typeof="schema:Person">
<link property="rdfa:copy" resource="_:a"/>
<link property="rdfa:copy" resource="_:b"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="schema:name">Amanda</span></p>
<p resource="_:b" typeof="rdfa:Pattern"><span property="schema:band">Jazz Band</span></p>
</body>
</html>
Example 1780: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0324.sparql
PREFIX schema: <http://schema.org/>
ASK WHERE {
[ a schema:Person; schema:name "Amanda"; schema:band "Jazz Band" ]
}
Test 0325: Multiple references to rdfa:Pattern creating a resource

An rdfa:Pattern defining a new blank-node object only creates a single node.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1781: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0325.html
<!DOCTYPE html>
<html>
<head>
<base href="http://example.org/"/>
</head>
<body vocab="http://schema.org/">
<div resource="#foo" typeof=""><link property="rdfa:copy" resource="_:a"/></div>
<div resource="#bar" typeof=""><link property="rdfa:copy" resource="_:a"/></div>
<div resource="_:a" typeof="rdfa:Pattern">
<div property="schema:refers-to" typeof="">
<span property="schema:name">Amanda</span>
</div>
</div>
</body>
</html>
Example 1782: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0325.sparql
BASE <http://example.org/>
PREFIX schema: <http://schema.org/>
ASK WHERE {
#foo schema:refers-to _:p .
#bar schema:refers-to _:p .
_:p schema:name "Amanda" .
}

Test files for XHTML5+RDFa 1.1:

Example 1783: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0325.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="http://example.org/"/>
</head>
<body vocab="http://schema.org/">
<div resource="#foo" typeof=""><link property="rdfa:copy" resource="_:a"/></div>
<div resource="#bar" typeof=""><link property="rdfa:copy" resource="_:a"/></div>
<div resource="_:a" typeof="rdfa:Pattern">
<div property="schema:refers-to" typeof="">
<span property="schema:name">Amanda</span>
</div>
</div>
</body>
</html>
Example 1784: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0325.sparql
BASE <http://example.org/>
PREFIX schema: <http://schema.org/>
ASK WHERE {
#foo schema:refers-to _:p .
#bar schema:refers-to _:p .
_:p schema:name "Amanda" .
}
Test 0326: rdfa:Pattern removed only if referenced

An rdfa:Pattern is removed if referenced, and not otherwise

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1785: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0326.html
<!DOCTYPE html>
<html>
<head>
<base href="http://example.com/"/>
</head>
<body vocab="http://schema.org/">
<div resource="#referencing" typeof="Person">
<link property="rdfa:copy" resource="#referenced"/>
</div>
<p resource="#referenced" typeof="rdfa:Pattern">Name: <span property="name">Bella</span></p>
<p resource="#unreferenced" typeof="rdfa:Pattern">Name: <span property="name">Lola</span></p>
</body>
</html>
Example 1786: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0326.sparql
BASE <http://example.com/>
PREFIX rdfa: <http://www.w3.org/ns/rdfa#>
PREFIX schema: <http://schema.org/>
ASK WHERE {
<#referencing> a schema:Person; schema:name "Bella" .
<#unreferenced> a rdfa:Pattern; schema:name "Lola" .
OPTIONAL {
?p a rdfa:Pattern; schema:name "Bella" .
}
FILTER (! bound (?p))
}

Test files for XHTML5+RDFa 1.1:

Example 1787: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0326.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="http://example.com/"/>
</head>
<body vocab="http://schema.org/">
<div resource="#referencing" typeof="Person">
<link property="rdfa:copy" resource="#referenced"/>
</div>
<p resource="#referenced" typeof="rdfa:Pattern">Name: <span property="name">Bella</span></p>
<p resource="#unreferenced" typeof="rdfa:Pattern">Name: <span property="name">Lola</span></p>
</body>
</html>
Example 1788: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0326.sparql
BASE <http://example.com/>
PREFIX rdfa: <http://www.w3.org/ns/rdfa#>
PREFIX schema: <http://schema.org/>
ASK WHERE {
<#referencing> a schema:Person; schema:name "Bella" .
<#unreferenced> a rdfa:Pattern; schema:name "Lola" .
OPTIONAL {
?p a rdfa:Pattern; schema:name "Bella" .
}
FILTER (! bound (?p))
}
Test 0327: rdfa:Pattern chaining

RDFa reference folding rules are repeated to allow prototypes to be chained.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1789: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0327.html
<!DOCTYPE html>
<html>
<head>
<base href="http://example.com/"/>
</head>
<body>
<div typeof="schema:Person">
<link property="rdfa:copy" resource="_:a"/>
<link property="rdfa:copy" resource="_:b"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="schema:name">Amanda</span></p>
<div resource="_:b" typeof="rdfa:Pattern">
<div property="schema:band" typeof=" schema:MusicGroup">
<link property="rdfa:copy" resource="_:c"/>
</div>
</div>
<div resource="_:c" typeof="rdfa:Pattern">
<p>Band: <span property="schema:name">Jazz Band</span></p>
<p>Size: <span property="schema:size">12</span> players</p>
</div>
</body>
</html>
Example 1790: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0327.sparql
PREFIX rdfa: <http://www.w3.org/ns/rdfa#>
PREFIX schema: <http://schema.org/>
ASK WHERE {
?r a schema:Person; schema:name "Amanda" ; schema:band ?b .
?b a schema:MusicGroup; schema:name "Jazz Band"; schema:size "12" .
OPTIONAL {
?p a rdfa:Pattern; .
}
FILTER (! bound (?p))
}

Test files for XHTML5+RDFa 1.1:

Example 1791: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0327.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="http://example.com/"/>
</head>
<body>
<div typeof="schema:Person">
<link property="rdfa:copy" resource="_:a"/>
<link property="rdfa:copy" resource="_:b"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="schema:name">Amanda</span></p>
<div resource="_:b" typeof="rdfa:Pattern">
<div property="schema:band" typeof=" schema:MusicGroup">
<link property="rdfa:copy" resource="_:c"/>
</div>
</div>
<div resource="_:c" typeof="rdfa:Pattern">
<p>Band: <span property="schema:name">Jazz Band</span></p>
<p>Size: <span property="schema:size">12</span> players</p>
</div>
</body>
</html>
Example 1792: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0327.sparql
PREFIX rdfa: <http://www.w3.org/ns/rdfa#>
PREFIX schema: <http://schema.org/>
ASK WHERE {
?r a schema:Person; schema:name "Amanda" ; schema:band ?b .
?b a schema:MusicGroup; schema:name "Jazz Band"; schema:size "12" .
OPTIONAL {
?p a rdfa:Pattern; .
}
FILTER (! bound (?p))
}
Test 0328: @content overrides the content of the time element.

@content overrides the content of the time element.

Expected query to return true

Test files for HTML5+RDFa 1.1:

Example 1793: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0328.html
<!DOCTYPE html>
<html>
<head>
<title>Test 0328</title>
</head>
<body>
<p>The value of @content has a higher priority than the content of the element</p>
<time property="rdf:value" content="this should be the value">18 March 2012</time>
</body>

</html>
Example 1794: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0328.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "this should be the value" ] .
}

Test files for XHTML5+RDFa 1.1:

Example 1795: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0328.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test 0328</title>
</head>
<body>
<p>The value of @content has a higher priority than the content of the element</p>
<time property="rdf:value" content="this should be the value">18 March 2012</time>
</body>

</html>
Example 1796: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0328.sparql
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ rdf:value "this should be the value" ] .
}

Test 0329: Recursive triple generation

Tests recursive triple generation for nested literals.

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1797: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0329.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0329</title>
</head>
<body>
<div about="http://example.org/foaf#me" property="foaf:name">
<span property="foaf:givenName">John</span>
<span property="foaf:familyName">Doe</span>
</div>
</body>
</html>
Example 1798: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0329.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<http://example.org/foaf#me> foaf:familyName "Doe";
foaf:givenName "John";
foaf:name """
John
Doe
""" .
}

Test files for HTML5+RDFa 1.1:

Example 1799: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0329.html
<!DOCTYPE html>
<html xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0329</title>
</head>
<body>
<div about="http://example.org/foaf#me" property="foaf:name">
<span property="foaf:givenName">John</span>
<span property="foaf:familyName">Doe</span>
</div>
</body>
</html>
Example 1800: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0329.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<http://example.org/foaf#me> foaf:familyName "Doe";
foaf:givenName "John";
foaf:name """
John
Doe
""" .
}

Test files for XHTML1+RDFa 1.1:

Example 1801: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0329.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0329</title>
</head>
<body>
<div about="http://example.org/foaf#me" property="foaf:name">
<span property="foaf:givenName">John</span>
<span property="foaf:familyName">Doe</span>
</div>
</body>
</html>
Example 1802: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0329.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<http://example.org/foaf#me> foaf:familyName "Doe";
foaf:givenName "John";
foaf:name """
John
Doe
""" .
}

Test files for XHTML5+RDFa 1.1:

Example 1803: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0329.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0329</title>
</head>
<body>
<div about="http://example.org/foaf#me" property="foaf:name">
<span property="foaf:givenName">John</span>
<span property="foaf:familyName">Doe</span>
</div>
</body>
</html>
Example 1804: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0329.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<http://example.org/foaf#me> foaf:familyName "Doe";
foaf:givenName "John";
foaf:name """
John
Doe
""" .
}

Test files for XML+RDFa 1.1:

Example 1805: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0329.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:foaf="http://xmlns.com/foaf/0.1/">
<head>
<title>Test 0329</title>
</head>
<body>
<div about="http://example.org/foaf#me" property="foaf:name">
<span property="foaf:givenName">John</span>
<span property="foaf:familyName">Doe</span>
</div>
</body>
</root>
Example 1806: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0329.sparql
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

ASK WHERE {
<http://example.org/foaf#me> foaf:familyName "Doe";
foaf:givenName "John";
foaf:name """
John
Doe
""" .
}
Test 0330: @datatype overrides inherited @lang

Tests @datatype is used instead of @lang when @datatype is not empty (e.g. annotating a date).

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1807: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0330.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0330</title>
</head>
<body lang="en">
<div property="dc:date" datatype="xsd:date">2010-11-12</div>
</body>
</html>
Example 1808: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0330.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ dcterms:date "2010-11-12"^^xsd:date ]
}

Test files for HTML5+RDFa 1.1:

Example 1809: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0330.html
<!DOCTYPE html>
<html xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0330</title>
</head>
<body lang="en">
<div property="dc:date" datatype="xsd:date">2010-11-12</div>
</body>
</html>
Example 1810: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0330.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ dcterms:date "2010-11-12"^^xsd:date ]
}

Test files for XHTML1+RDFa 1.1:

Example 1811: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0330.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0330</title>
</head>
<body lang="en">
<div property="dc:date" datatype="xsd:date">2010-11-12</div>
</body>
</html>
Example 1812: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0330.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ dcterms:date "2010-11-12"^^xsd:date ]
}

Test files for XHTML5+RDFa 1.1:

Example 1813: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0330.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0330</title>
</head>
<body lang="en">
<div property="dc:date" datatype="xsd:date">2010-11-12</div>
</body>
</html>
Example 1814: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0330.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ dcterms:date "2010-11-12"^^xsd:date ]
}

Test files for XML+RDFa 1.1:

Example 1815: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0330.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
<title>Test 0330</title>
</head>
<body lang="en">
<div property="dc:date" datatype="xsd:date">2010-11-12</div>
</body>
</root>
Example 1816: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0330.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

ASK WHERE {
[ dcterms:date "2010-11-12"^^xsd:date ]
}
Test 0331: @datatype overrides inherited @lang, with @content

Tests @datatype is used instead of @lang when @datatype is not empty, and @content is used for the value (e.g. annotating a language with human and machine readable text).

Expected query to return true

Test files for HTML4+RDFa 1.1:

Example 1817: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0331.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">
<html version="HTML+RDFa 1.1" xmlns:dcterms="http://purl.org/dc/terms/">
<head>
<title>Test 0331</title>
</head>
<body lang="en">
<div property="dcterms:language" datatype="dcterms:RFC5646" content="af">Afrikaans</div>
</body>
</html>
Example 1818: http://rdfa.info/test-suite/test-cases/rdfa1.1/html4/0331.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>

ASK WHERE {
[ dcterms:language "af"^^dcterms:RFC5646 ]
}

Test files for HTML5+RDFa 1.1:

Example 1819: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0331.html
<!DOCTYPE html>
<html xmlns:dcterms="http://purl.org/dc/terms/">
<head>
<title>Test 0331</title>
</head>
<body lang="en">
<div property="dcterms:language" datatype="dcterms:RFC5646" content="af">Afrikaans</div>
</body>
</html>
Example 1820: http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/0331.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>

ASK WHERE {
[ dcterms:language "af"^^dcterms:RFC5646 ]
}

Test files for XHTML1+RDFa 1.1:

Example 1821: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0331.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.1" xmlns:dcterms="http://purl.org/dc/terms/">
<head>
<title>Test 0331</title>
</head>
<body lang="en">
<div property="dcterms:language" datatype="dcterms:RFC5646" content="af">Afrikaans</div>
</body>
</html>
Example 1822: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml1/0331.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>

ASK WHERE {
[ dcterms:language "af"^^dcterms:RFC5646 ]
}

Test files for XHTML5+RDFa 1.1:

Example 1823: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0331.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dcterms="http://purl.org/dc/terms/">
<head>
<title>Test 0331</title>
</head>
<body lang="en">
<div property="dcterms:language" datatype="dcterms:RFC5646" content="af">Afrikaans</div>
</body>
</html>
Example 1824: http://rdfa.info/test-suite/test-cases/rdfa1.1/xhtml5/0331.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>

ASK WHERE {
[ dcterms:language "af"^^dcterms:RFC5646 ]
}

Test files for XML+RDFa 1.1:

Example 1825: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0331.xml
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:dcterms="http://purl.org/dc/terms/">
<head>
<title>Test 0331</title>
</head>
<body lang="en">
<div property="dcterms:language" datatype="dcterms:RFC5646" content="af">Afrikaans</div>
</body>
</root>
Example 1826: http://rdfa.info/test-suite/test-cases/rdfa1.1/xml/0331.sparql
PREFIX dcterms: <http://purl.org/dc/terms/>

ASK WHERE {
[ dcterms:language "af"^^dcterms:RFC5646 ]
}

C. References

C.1 Informative references

[EARL10-SCHEMA]
Shadi Abou-Zahra. Evaluation and Report Language (EARL) 1.0 Schema. 10 May 2011. W3C Last Call Working Draft. URL: http://www.w3.org/TR/EARL10-Schema/
[HTML-RDFA]
Manu Sporny. HTML+RDFa 1.1: Support for RDFa in HTML4 and HTML5. W3C Working Draft 07 February 2013. URL: http://www.w3.org/TR/2013/WD-html-rdfa-20130207/
[HTML40]
Ian Jacobs; David Raggett; Arnaud Le Hors. HTML 4.0 Specification. 24 April 1998. W3C Recommendation. URL: http://www.w3.org/TR/html40/
[HTML5]
Robin Berjon et al. HTML5. 17 December 2012. W3C Candidate Recommendation. URL: http://www.w3.org/TR/html5/
[RDFA-CORE]
Shane McCarron et al. RDFa Core 1.1: Syntax and processing rules for embedding RDF through attributes. 7 June 2012. W3C Recommendation. URL: http://www.w3.org/TR/rdfa-core/
[SVG12]
Craig Northway; Dean Jackson. Scalable Vector Graphics (SVG) Full 1.2 Specification. 13 April 2005. W3C Working Draft. URL: http://www.w3.org/TR/SVG12/
[XHTML-RDFA]
Shane McCarron; et. al. XHTML+RDFa 1.1. 7 June 2012. W3C Recommendation. URL: http://www.w3.org/TR/xhtml-rdfa/
[XHTML-ROLE]
Shane McCarron et al. XHTML Role Attribute Module. 7 April 2008. W3C Working Draft. URL: http://www.w3.org/TR/xhtml-role/
[XML11]
Eve Maler et al. Extensible Markup Language (XML) 1.1 (Second Edition). 16 August 2006. W3C Recommendation. URL: http://www.w3.org/TR/xml11/